From 4ea0f7d95bdf51f3ab9959483f297331635292c6 Mon Sep 17 00:00:00 2001 From: Christian Ebner Date: Fri, 2 Aug 2019 17:43:25 +0200 Subject: [PATCH] pxar: remove flag to change digest algorithm The flag CA_FORMAT_SHA512_256 is used to switch between sha512 and sha256 to calculate digest in casync. As we use sha256, we can get rid of this flag for now. Signed-off-by: Christian Ebner --- src/pxar/flags.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pxar/flags.rs b/src/pxar/flags.rs index 86c57559..fa9bff1a 100644 --- a/src/pxar/flags.rs +++ b/src/pxar/flags.rs @@ -67,8 +67,6 @@ pub const WITH_QUOTA_PROJID: u64 = 0x100000000; /// Support ".pxarexclude" files pub const EXCLUDE_FILE: u64 = 0x1000000000000000; -/// the purpose of this flag is still unclear -pub const SHA512_256: u64 = 0x2000000000000000; /// Exclude submounts pub const EXCLUDE_SUBMOUNTS: u64 = 0x4000000000000000; /// Exclude entries with chattr flag NODUMP @@ -137,8 +135,7 @@ pub const DEFAULT: u64 = WITH_FCAPS| WITH_QUOTA_PROJID| EXCLUDE_NODUMP| - EXCLUDE_FILE| - SHA512_256; + EXCLUDE_FILE; // form /usr/include/linux/fs.h const FS_APPEND_FL: u32 = 0x00000020;