From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boaz Harrosh Subject: Re: [PATCH 08/22] exofs: move EXOFS_SUPER_MAGIC to Date: Thu, 3 Apr 2014 11:54:38 +0300 Message-ID: <533D21CE.1020902@panasas.com> References: <1393927258-10709-1-git-send-email-kzak@redhat.com> <1393927258-10709-9-git-send-email-kzak@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: To: Karel Zak , Al Viro Return-path: Received: from static-209-166-131-148.expedient.com ([209.166.131.148]:32962 "EHLO natasha.panasas.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1162578AbaDCIyr (ORCPT ); Thu, 3 Apr 2014 04:54:47 -0400 In-Reply-To: <1393927258-10709-9-git-send-email-kzak@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 03/04/2014 12:00 PM, Karel Zak wrote: > Move the magic number to proper place. > > CC: Boaz Harrosh - CC: Boaz Harrosh + ACK-by: Boaz Harrosh Are you pushing this or you need that I push it through the exofs tree? BTW: does anyone know - Today I need to do: mount -t exofs /dev/osdX /mnt How to teach the Kernel to send any osd devices to exofs when -t is not specified? Thanks Boaz > 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 >