From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karel Zak Subject: [PATCH 21/22] udf: move UDF_SUPER_MAGIC to Date: Tue, 4 Mar 2014 11:00:57 +0100 Message-ID: <1393927258-10709-22-git-send-email-kzak@redhat.com> References: <1393927258-10709-1-git-send-email-kzak@redhat.com> Cc: linux-fsdevel@vger.kernel.org, Karel Zak , Jan Kara To: Al Viro Return-path: Received: from mx1.redhat.com ([209.132.183.28]:63422 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756860AbaCDKCV (ORCPT ); Tue, 4 Mar 2014 05:02:21 -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: Jan Kara Signed-off-by: Karel Zak --- fs/udf/udf_sb.h | 2 +- include/uapi/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/udf/udf_sb.h b/fs/udf/udf_sb.h index 1f32c7b..6316160 100644 --- a/fs/udf/udf_sb.h +++ b/fs/udf/udf_sb.h @@ -3,9 +3,9 @@ #include #include +#include /* Since UDF 2.01 is ISO 13346 based... */ -#define UDF_SUPER_MAGIC 0x15013346 #define UDF_MAX_READ_VERSION 0x0250 #define UDF_MAX_WRITE_VERSION 0x0201 diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index a042445..aae1070 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -48,6 +48,7 @@ #define HOSTFS_SUPER_MAGIC 0x00c0ffee #define HPPFS_SUPER_MAGIC 0xb00000ee #define UBIFS_SUPER_MAGIC 0x24051905 +#define UDF_SUPER_MAGIC 0x15013346 #define VXFS_SUPER_MAGIC 0xa501FCF5 #define XFS_SUPER_MAGIC 0x58465342 -- 1.8.5.3