summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2019-06-24 09:19:52 +0300
committerSteve French <stfrench@microsoft.com>2019-07-08 06:37:43 +0300
commit6552d6a0264de505d3bb1445aecf757b1ec3873a (patch)
tree56a4e92791e6eebfbb813b366cae1fdf7622743a /fs/cifs
parent29fbeb7a908a60a5ae8c50fbe171cb8fdcef1980 (diff)
downloadlinux-6552d6a0264de505d3bb1445aecf757b1ec3873a.tar.xz
cifs: Fix check for matching with existing mount
If we mount the same share twice, we check the flags to see if the second mount matches the earlier mount, but we left some flags out. Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/cifsglob.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 4777b3c4a92c..88c98fa15f39 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -617,6 +617,7 @@ struct smb_vol {
CIFS_MOUNT_FSCACHE | CIFS_MOUNT_MF_SYMLINKS | \
CIFS_MOUNT_MULTIUSER | CIFS_MOUNT_STRICT_IO | \
CIFS_MOUNT_CIFS_BACKUPUID | CIFS_MOUNT_CIFS_BACKUPGID | \
+ CIFS_MOUNT_UID_FROM_ACL | CIFS_MOUNT_NO_HANDLE_CACHE | \
CIFS_MOUNT_NO_DFS)
/**