]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ecryptfs: moved ECRYPTFS_SUPER_MAGIC definition to linux/magic.h
authorRoberto Sassu <roberto.sassu@polito.it>
Wed, 3 Nov 2010 10:11:15 +0000 (11:11 +0100)
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>
Mon, 17 Jan 2011 16:44:31 +0000 (10:44 -0600)
The definition of ECRYPTFS_SUPER_MAGIC has been moved to the include
file 'linux/magic.h' to become available to other kernel subsystems.

Signed-off-by: Roberto Sassu <roberto.sassu@polito.it>
Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
fs/ecryptfs/ecryptfs_kernel.h
include/linux/magic.h

index 413a3c48f0bb8a539f2dd09c72cdc8c972db83c1..bc530a81e4ce431118394a8c170fdb63cfed87fd 100644 (file)
@@ -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
index ff690d05f129c5af1f51b740c975f6a014d55221..62730ea2b56e5cea0b75ce5c90a40e87cc582682 100644 (file)
@@ -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