diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-01-10 19:00:02 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-01-15 10:08:44 -0600 |
commit | dea2903719283c156b53741126228c4a1b40440f (patch) | |
tree | c06c3e25d054c1996723d2177c26051eb29cd7ce /include/uapi | |
parent | 3ac5f2f2574a8b9e219bb5872166e5db797e349d (diff) |
cifs: move superblock magic defitions to magic.h
Help userland apps to identify cifs and smb2 mounts.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/magic.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/linux/magic.h b/include/uapi/linux/magic.h index 35687dcb1a42..a9f4dcb7b457 100644 --- a/include/uapi/linux/magic.h +++ b/include/uapi/linux/magic.h @@ -51,6 +51,7 @@ #define QNX6_SUPER_MAGIC 0x68191122 /* qnx6 fs detection */ #define AFS_FS_MAGIC 0x6B414653 + #define REISERFS_SUPER_MAGIC 0x52654973 /* used by gcc */ /* used by file system utilities that look at the superblock, etc. */ @@ -59,6 +60,9 @@ #define REISER2FS_JR_SUPER_MAGIC_STRING "ReIsEr3Fs" #define SMB_SUPER_MAGIC 0x517B +#define CIFS_SUPER_MAGIC 0xFF534D42 /* the first four bytes of SMB PDUs */ +#define SMB2_SUPER_MAGIC 0xFE534D42 + #define CGROUP_SUPER_MAGIC 0x27e0eb #define CGROUP2_SUPER_MAGIC 0x63677270 |