Skip to contentSkip to conversation

ecryptfs: moved ECRYPTFS_SUPER_MAGIC definition to linux/magic.h

PATCH In review Roberto Sassu 1 participant 1 message Nov 3, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/5 ecryptfs: moved ECRYPTFS_SUPER_MAGIC definition to linux/magic.h

The definition of ECRYPTFS_SUPER_MAGIC has been moved to the include file 'linux/magic.h' to become available to other kernel subsystems.

---
 fs/ecryptfs/ecryptfs_kernel.h |    1 -
 include/linux/magic.h         |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)
fs/ecryptfs/ecryptfs_kernel.h +0 -1
index 59ab793..452be3c 100644
@@ -192,7 +192,6 @@ ecryptfs_get_key_payload_data(struct key *key)
 		(((struct user_key_payload*)key->payload.data)->data);
 }
 
-#define ECRYPTFS_SUPER_MAGIC 0xf15f
 #define ECRYPTFS_MAX_KEYSET_SIZE 1024
 #define ECRYPTFS_MAX_CIPHER_NAME_SIZE 32
 #define ECRYPTFS_MAX_NUM_ENC_KEYS 64
include/linux/magic.h +1 -0
index eb9800f..9a6d3a8 100644
@@ -16,6 +16,7 @@
 #define TMPFS_MAGIC		0x01021994
 #define HUGETLBFS_MAGIC 	0x958458f6	/* some random number */
 #define SQUASHFS_MAGIC		0x73717368
+#define ECRYPTFS_SUPER_MAGIC	0xf15f
 #define EFS_SUPER_MAGIC		0x414A53
 #define EXT2_SUPER_MAGIC	0xEF53
 #define EXT3_SUPER_MAGIC	0xEF53
Signature · 1 line
1.7.2.3