Move the magic number to proper place. Signed-off-by: Karel Zak <kzak@xxxxxxxxxx> --- fs/hppfs/hppfs.c | 3 +-- include/uapi/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/hppfs/hppfs.c b/fs/hppfs/hppfs.c index 4338ff3..7bcac0a 100644 --- a/fs/hppfs/hppfs.c +++ b/fs/hppfs/hppfs.c @@ -17,6 +17,7 @@ #include <linux/types.h> #include <linux/pid_namespace.h> #include <linux/namei.h> +#include <linux/magic.h> #include <asm/uaccess.h> #include <os.h> @@ -44,8 +45,6 @@ static inline struct hppfs_inode_info *HPPFS_I(struct inode *inode) return container_of(inode, struct hppfs_inode_info, vfs_inode); } -#define HPPFS_SUPER_MAGIC 0xb00000ee - static const struct super_operations hppfs_sbops; static int is_pid(struct dentry *dentry) diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index 4980428..641dcea 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -41,6 +41,7 @@ #define EFIVARFS_MAGIC 0xde5e81e4 #define HFSPLUS_SUPER_MAGIC 0x482b #define HOSTFS_SUPER_MAGIC 0x00c0ffee +#define HPPFS_SUPER_MAGIC 0xb00000ee #define VXFS_SUPER_MAGIC 0xa501FCF5 #define XFS_SUPER_MAGIC 0x58465342 -- 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