]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
CIFS: check CIFS_MOUNT_NO_DFS when trying to reuse existing sb
authorAurelien Aptel <aaptel@suse.com>
Tue, 2 Apr 2019 11:00:33 +0000 (13:00 +0200)
committerSteve French <stfrench@microsoft.com>
Wed, 8 May 2019 04:24:54 +0000 (23:24 -0500)
commitd070f9dd625a68d8ed4fc1de685af06a489e6f8b
tree1dca4a5138182cdb101d5ef9f4291f406d7b370a
parentc8b6ac1a9d1fb26adaeaafc3fb872e6713dfeaf7
CIFS: check CIFS_MOUNT_NO_DFS when trying to reuse existing sb

if we mount A then mount A again with nodfs, we shouldn't reuse the
superblock. document the purpose of the defines as well.

there are most likely more flags that needs to be added to this mask,
in fact the logic to find them should be which flag should
be *ignored* when trying to reuse an existing sb.

Signed-off-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/cifsglob.h