]> git.baikalelectronics.ru Git - 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)
commitfca2751adfafb25dd1ed4b919aa1ad130295161f
tree1dca4a5138182cdb101d5ef9f4291f406d7b370a
parenta0f4e0e62d9eef7e963a353311f07e6d0dba016a
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