Fix missing parameters to ext4_warning call
[ext4-patch-queue.git] / remove-duplicated-encryption-mode-definitions
blob9e5c46cafa3427720a0d08b860871edf1a3d97eb
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>
13 ---
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
19 --- a/fs/ext4/ext4.h
20 +++ b/fs/ext4/ext4.h
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
31  /*
32   * Structure of the super block
33   */
34 -- 
35 1.9.1