]> 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)
commit05a490b48e3d57489e451bbbf0cafc1f584560db
tree1dca4a5138182cdb101d5ef9f4291f406d7b370a
parent52887b233ab989f0782de442049a9f4f3409b7cc
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