From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karel Zak Subject: [PATCH 11/22] gfs2: move GFS2_MAGIC to Date: Tue, 4 Mar 2014 11:00:47 +0100 Message-ID: <1393927258-10709-12-git-send-email-kzak@redhat.com> References: <1393927258-10709-1-git-send-email-kzak@redhat.com> Cc: linux-fsdevel@vger.kernel.org, Karel Zak , Steven Whitehouse To: Al Viro Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18465 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756618AbaCDKB7 (ORCPT ); Tue, 4 Mar 2014 05:01:59 -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: Steven Whitehouse Signed-off-by: Karel Zak --- include/uapi/linux/gfs2_ondisk.h | 2 +- include/uapi/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/gfs2_ondisk.h b/include/uapi/linux/gfs2_ondisk.h index 0f24c07..06a05d9 100644 --- a/include/uapi/linux/gfs2_ondisk.h +++ b/include/uapi/linux/gfs2_ondisk.h @@ -11,8 +11,8 @@ #define __GFS2_ONDISK_DOT_H__ #include +#include -#define GFS2_MAGIC 0x01161970 #define GFS2_BASIC_BLOCK 512 #define GFS2_BASIC_BLOCK_SHIFT 9 diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index f8ccce1..14f2a96 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -14,6 +14,7 @@ #define CRAMFS_MAGIC 0x28cd3d45 /* some random number */ #define CRAMFS_MAGIC_WEND 0x453dcd28 /* magic number with the wrong endianess */ #define DEBUGFS_MAGIC 0x64626720 +#define GFS2_MAGIC 0x01161970 #define MQUEUE_MAGIC 0x19800202 #define SECURITYFS_MAGIC 0x73636673 #define SELINUX_MAGIC 0xf97cff8c -- 1.8.5.3