From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karel Zak Subject: [PATCH 13/22] hppfs: move HPPFS_SUPER_MAGIC to Date: Tue, 4 Mar 2014 11:00:49 +0100 Message-ID: <1393927258-10709-14-git-send-email-kzak@redhat.com> References: <1393927258-10709-1-git-send-email-kzak@redhat.com> Cc: linux-fsdevel@vger.kernel.org, Karel Zak To: Al Viro Return-path: Received: from mx1.redhat.com ([209.132.183.28]:38464 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756860AbaCDKCD (ORCPT ); Tue, 4 Mar 2014 05:02:03 -0500 In-Reply-To: <1393927258-10709-1-git-send-email-kzak@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Move the magic number to proper place. Signed-off-by: Karel Zak --- 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 #include #include +#include #include #include @@ -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