From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karel Zak Subject: [PATCH 01/22] cifs: move CIFS_MAGIC_NUMBER to Date: Tue, 4 Mar 2014 11:00:37 +0100 Message-ID: <1393927258-10709-2-git-send-email-kzak@redhat.com> References: <1393927258-10709-1-git-send-email-kzak@redhat.com> Cc: linux-fsdevel@vger.kernel.org, Karel Zak , Steve French To: Al Viro Return-path: Received: from mx1.redhat.com ([209.132.183.28]:23484 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756682AbaCDKBg (ORCPT ); Tue, 4 Mar 2014 05:01:36 -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: Steve French Signed-off-by: Karel Zak --- fs/cifs/cifsglob.h | 3 +-- include/uapi/linux/magic.h | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h index cf32f03..af70538 100644 --- a/fs/cifs/cifsglob.h +++ b/fs/cifs/cifsglob.h @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include "cifs_fs_sb.h" @@ -33,8 +34,6 @@ #include "smb2pdu.h" #endif -#define CIFS_MAGIC_NUMBER 0xFF534D42 /* the first four bytes of SMB PDUs */ - /* * The sizes of various internal tables and strings */ diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index 77c6031..343ea0c 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -5,6 +5,7 @@ #define AFFS_SUPER_MAGIC 0xadff #define AFS_SUPER_MAGIC 0x5346414F #define AUTOFS_SUPER_MAGIC 0x0187 +#define CIFS_MAGIC_NUMBER 0xff534d42 #define CODA_SUPER_MAGIC 0x73757245 #define CRAMFS_MAGIC 0x28cd3d45 /* some random number */ #define CRAMFS_MAGIC_WEND 0x453dcd28 /* magic number with the wrong endianess */ -- 1.8.5.3