Move the magic number to proper place. CC: Boaz Harrosh <bharrosh@xxxxxxxxxxx> Signed-off-by: Karel Zak <kzak@xxxxxxxxxx> --- fs/exofs/common.h | 2 +- include/uapi/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/exofs/common.h b/fs/exofs/common.h index 3bbd469..93c3a89 100644 --- a/fs/exofs/common.h +++ b/fs/exofs/common.h @@ -37,6 +37,7 @@ #define __EXOFS_COM_H__ #include <linux/types.h> +#include <linux/magic.h> #include <scsi/osd_attributes.h> #include <scsi/osd_initiator.h> @@ -82,7 +83,6 @@ enum { /**************************************************************************** * superblock-related things ****************************************************************************/ -#define EXOFS_SUPER_MAGIC 0x5DF5 /* * The file system control block - stored in object EXOFS_SUPER_ID's data. diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index ecaf6f7..0c91e37 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -24,6 +24,7 @@ #define SQUASHFS_MAGIC 0x73717368 #define ECRYPTFS_SUPER_MAGIC 0xf15f #define EFS_SUPER_MAGIC 0x414A53 +#define EXOFS_SUPER_MAGIC 0x5DF5 #define EXT2_SUPER_MAGIC 0xEF53 #define EXT3_SUPER_MAGIC 0xEF53 #define XENFS_SUPER_MAGIC 0xabba1974 -- 1.8.5.3 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html