From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kara Subject: Re: [PATCH 21/22] udf: move UDF_SUPER_MAGIC to Date: Tue, 4 Mar 2014 12:11:17 +0100 Message-ID: <20140304111117.GA27936@quack.suse.cz> References: <1393927258-10709-1-git-send-email-kzak@redhat.com> <1393927258-10709-22-git-send-email-kzak@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Al Viro , linux-fsdevel@vger.kernel.org, Jan Kara To: Karel Zak Return-path: Received: from cantor2.suse.de ([195.135.220.15]:36346 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756975AbaCDLLU (ORCPT ); Tue, 4 Mar 2014 06:11:20 -0500 Content-Disposition: inline In-Reply-To: <1393927258-10709-22-git-send-email-kzak@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue 04-03-14 11:00:57, Karel Zak wrote: > 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 The comment refers to the magic so delete it as well... Otherwise the patch looks OK. Honza > > #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 > -- Jan Kara SUSE Labs, CR