From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karel Zak Subject: [PATCH 08/22] exofs: move EXOFS_SUPER_MAGIC to Date: Tue, 4 Mar 2014 11:00:44 +0100 Message-ID: <1393927258-10709-9-git-send-email-kzak@redhat.com> References: <1393927258-10709-1-git-send-email-kzak@redhat.com> Cc: linux-fsdevel@vger.kernel.org, Karel Zak , Boaz Harrosh To: Al Viro Return-path: Received: from mx1.redhat.com ([209.132.183.28]:5121 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756618AbaCDKBz (ORCPT ); Tue, 4 Mar 2014 05:01:55 -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: Boaz Harrosh Signed-off-by: Karel Zak --- fs/exofs/common.h | 2 +- include/uapi/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/exofs/common.h b/fs/exofs/common.h index 3bbd469..93c3a89 100644 --- a/fs/exofs/common.h +++ b/fs/exofs/common.h @@ -37,6 +37,7 @@ #define __EXOFS_COM_H__ #include +#include #include #include @@ -82,7 +83,6 @@ enum { /**************************************************************************** * superblock-related things ****************************************************************************/ -#define EXOFS_SUPER_MAGIC 0x5DF5 /* * The file system control block - stored in object EXOFS_SUPER_ID's data. diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index ecaf6f7..0c91e37 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -24,6 +24,7 @@ #define SQUASHFS_MAGIC 0x73717368 #define ECRYPTFS_SUPER_MAGIC 0xf15f #define EFS_SUPER_MAGIC 0x414A53 +#define EXOFS_SUPER_MAGIC 0x5DF5 #define EXT2_SUPER_MAGIC 0xEF53 #define EXT3_SUPER_MAGIC 0xEF53 #define XENFS_SUPER_MAGIC 0xabba1974 -- 1.8.5.3