diff options
author | Jeff Layton <jlayton@kernel.org> | 2022-01-11 03:00:02 +0300 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-01-15 19:08:44 +0300 |
commit | dea2903719283c156b53741126228c4a1b40440f (patch) | |
tree | c06c3e25d054c1996723d2177c26051eb29cd7ce /fs/cifs/smb1ops.c | |
parent | 3ac5f2f2574a8b9e219bb5872166e5db797e349d (diff) | |
download | linux-dea2903719283c156b53741126228c4a1b40440f.tar.xz |
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 'fs/cifs/smb1ops.c')
-rw-r--r-- | fs/cifs/smb1ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/smb1ops.c b/fs/cifs/smb1ops.c index 6364c09296e8..8272c91e15ef 100644 --- a/fs/cifs/smb1ops.c +++ b/fs/cifs/smb1ops.c @@ -7,6 +7,7 @@ #include <linux/pagemap.h> #include <linux/vfs.h> +#include <uapi/linux/magic.h> #include "cifsglob.h" #include "cifsproto.h" #include "cifs_debug.h" @@ -887,7 +888,7 @@ cifs_queryfs(const unsigned int xid, struct cifs_tcon *tcon, { int rc = -EOPNOTSUPP; - buf->f_type = CIFS_MAGIC_NUMBER; + buf->f_type = CIFS_SUPER_MAGIC; /* * We could add a second check for a QFS Unix capability bit |