Skip to content

Commit

Permalink
ext4 crypto: remove duplicated encryption mode definitions
Browse files Browse the repository at this point in the history
This patch removes duplicated encryption modes which were already in
ext4.h. They were duplicated from commit 3edc18d and commit f542fb.

Cc: Theodore Ts'o <[email protected]>
Cc: Michael Halcrow <[email protected]>
Cc: Andreas Dilger <[email protected]>
Signed-off-by: Chanho Park <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
  • Loading branch information
cometzero authored and tytso committed May 2, 2015
1 parent fb63e54 commit 9402bdc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions fs/ext4/ext4.h
Original file line number Diff line number Diff line change
Expand Up @@ -1067,12 +1067,6 @@ extern void ext4_set_bits(void *bm, int cur, int len);
/* Metadata checksum algorithm codes */
#define EXT4_CRC32C_CHKSUM 1

/* Encryption algorithms */
#define EXT4_ENCRYPTION_MODE_INVALID 0
#define EXT4_ENCRYPTION_MODE_AES_256_XTS 1
#define EXT4_ENCRYPTION_MODE_AES_256_GCM 2
#define EXT4_ENCRYPTION_MODE_AES_256_CBC 3

/*
* Structure of the super block
*/
Expand Down

0 comments on commit 9402bdc

Please sign in to comment.