1 ext4 crypto: remove duplicated encryption mode definitions
3 From: Chanho Park <parkch98@gmail.com>
5 This patch removes duplicated encryption modes which were already in
6 ext4.h. They were duplicated from commit 3edc18d and commit f542fb.
8 Cc: Theodore Ts'o <tytso@mit.edu>
9 Cc: Michael Halcrow <mhalcrow@google.com>
10 Cc: Andreas Dilger <adilger.kernel@dilger.ca>
11 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
12 Signed-off-by: Theodore Ts'o <tytso@mit.edu>
14 fs/ext4/ext4.h | 6 ------
15 1 file changed, 6 deletions(-)
17 diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
18 index ef267ad..07378a4 100644
21 @@ -1066,12 +1066,6 @@ extern void ext4_set_bits(void *bm, int cur, int len);
22 /* Metadata checksum algorithm codes */
23 #define EXT4_CRC32C_CHKSUM 1
25 -/* Encryption algorithms */
26 -#define EXT4_ENCRYPTION_MODE_INVALID 0
27 -#define EXT4_ENCRYPTION_MODE_AES_256_XTS 1
28 -#define EXT4_ENCRYPTION_MODE_AES_256_GCM 2
29 -#define EXT4_ENCRYPTION_MODE_AES_256_CBC 3
32 * Structure of the super block