From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karel Zak Subject: [PATCH 07/22] ceph: move CEPH_SUPER_MAGIC to Date: Tue, 4 Mar 2014 11:00:43 +0100 Message-ID: <1393927258-10709-8-git-send-email-kzak@redhat.com> References: <1393927258-10709-1-git-send-email-kzak@redhat.com> Cc: linux-fsdevel@vger.kernel.org, Karel Zak , Sage Weil To: Al Viro Return-path: Received: from mx1.redhat.com ([209.132.183.28]:64423 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756618AbaCDKBw (ORCPT ); Tue, 4 Mar 2014 05:01:52 -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. CC: Sage Weil Signed-off-by: Karel Zak --- fs/ceph/super.h | 4 +--- include/uapi/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/ceph/super.h b/fs/ceph/super.h index d8801a9..0d5881c 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h @@ -14,6 +14,7 @@ #include #include #include +#include #include @@ -21,9 +22,6 @@ #include #endif -/* f_type in struct statfs */ -#define CEPH_SUPER_MAGIC 0x00c36400 - /* large granularity for statfs utilization stats to facilitate * large volume sizes on 32-bit machines. */ #define CEPH_BLOCK_SHIFT 22 /* 4 MB */ diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index 55d9825..ecaf6f7 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -7,6 +7,7 @@ #define AUTOFS_SUPER_MAGIC 0x0187 #define BEFS_SUPER_MAGIC 0x42465331 /* "BFS1" */ #define BFS_MAGIC 0x1BADFACE +#define CEPH_SUPER_MAGIC 0x00c36400 #define CIFS_MAGIC_NUMBER 0xff534d42 #define CODA_SUPER_MAGIC 0x73757245 #define CONFIGFS_MAGIC 0x62656570 /* some random number */ -- 1.8.5.3