2015-04-23 08:56:16

by Chanho Park

[permalink] [raw]
Subject: [PATCH] ext4 crypto: remove duplicated encryption mode definitions

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]>
---
fs/ext4/ext4.h | 6 ------
1 file changed, 6 deletions(-)

diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index ef267ad..07378a4 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1066,12 +1066,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
*/
--
1.9.1


2015-05-02 14:26:36

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH] ext4 crypto: remove duplicated encryption mode definitions

On Thu, Apr 23, 2015 at 05:56:16PM +0900, Chanho Park wrote:
> This patch removes duplicated encryption modes which were already in
> ext4.h. They were duplicated from commit 3edc18d and commit f542fb.

Thanks, applied.

- Ted