Move the magic number to proper place. CC: "Tigran A. Aivazian" <tigran@xxxxxxxxxxxxxxxxxxxx> Signed-off-by: Karel Zak <kzak@xxxxxxxxxx> --- include/uapi/linux/bfs_fs.h | 2 +- include/uapi/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/bfs_fs.h b/include/uapi/linux/bfs_fs.h index 1c0b355..bba7fbf 100644 --- a/include/uapi/linux/bfs_fs.h +++ b/include/uapi/linux/bfs_fs.h @@ -7,11 +7,11 @@ #define _LINUX_BFS_FS_H #include <linux/types.h> +#include <linux/magic.h> #define BFS_BSIZE_BITS 9 #define BFS_BSIZE (1<<BFS_BSIZE_BITS) -#define BFS_MAGIC 0x1BADFACE #define BFS_ROOT_INO 2 #define BFS_INODES_PER_BLOCK 8 diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index ba3be09..55d9825 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -6,6 +6,7 @@ #define AFS_SUPER_MAGIC 0x5346414F #define AUTOFS_SUPER_MAGIC 0x0187 #define BEFS_SUPER_MAGIC 0x42465331 /* "BFS1" */ +#define BFS_MAGIC 0x1BADFACE #define CIFS_MAGIC_NUMBER 0xff534d42 #define CODA_SUPER_MAGIC 0x73757245 #define CONFIGFS_MAGIC 0x62656570 /* some random number */ -- 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