Re: [PATCH 08/22] exofs: move EXOFS_SUPER_MAGIC to <linux/magic.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/04/2014 12:00 PM, Karel Zak wrote:
> Move the magic number to proper place.
> 
> CC: Boaz Harrosh <bharrosh@xxxxxxxxxxx>
- CC: Boaz Harrosh <bharrosh@xxxxxxxxxxx>
+ ACK-by: Boaz Harrosh <bharrosh@xxxxxxxxxxx>

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 <kzak@xxxxxxxxxx>
> ---
>  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 <linux/types.h>
> +#include <linux/magic.h>
>  
>  #include <scsi/osd_attributes.h>
>  #include <scsi/osd_initiator.h>
> @@ -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
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux