Move the magic number to proper place. CC: Bob Copeland <me@xxxxxxxxxxxxxxx> Signed-off-by: Karel Zak <kzak@xxxxxxxxxx> --- fs/omfs/omfs_fs.h | 3 ++- include/uapi/linux/magic.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/omfs/omfs_fs.h b/fs/omfs/omfs_fs.h index ee5e432..889269e 100644 --- a/fs/omfs/omfs_fs.h +++ b/fs/omfs/omfs_fs.h @@ -1,9 +1,10 @@ #ifndef _OMFS_FS_H #define _OMFS_FS_H +#include <linux/magic.h> + /* OMFS On-disk structures */ -#define OMFS_MAGIC 0xC2993D87 #define OMFS_IMAGIC 0xD2 #define OMFS_DIR 'D' diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index 99c6548..90b1681 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -16,6 +16,7 @@ #define DEBUGFS_MAGIC 0x64626720 #define GFS2_MAGIC 0x01161970 #define OCFS2_SUPER_MAGIC 0x7461636f +#define OMFS_MAGIC 0xC2993D87 #define MQUEUE_MAGIC 0x19800202 #define SECURITYFS_MAGIC 0x73636673 #define SELINUX_MAGIC 0xf97cff8c -- 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