]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Compare prepaths when comparing superblocks
authorSachin Prabhu <sprabhu@redhat.com>
Thu, 26 Jan 2017 13:27:27 +0000 (14:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 20 Jun 2017 12:04:09 +0000 (14:04 +0200)
commit5c33dcb4788ac9cd1de9e340543badae18e0d1b3
tree3d6a74a34155f0f516c3b65e3ea39608cebf46fd
parent528d066d3ddd524e84ca037911cee45031b4e517
Compare prepaths when comparing superblocks

commit c1d8b24d18192764fe82067ec6aa8d4c3bf094e0 upstream.

The patch
Fs/cifs: make share unaccessible at root level mountable
makes use of prepaths when any component of the underlying path is
inaccessible.

When mounting 2 separate shares having different prepaths but are other
wise similar in other respects, we end up sharing superblocks when we
shouldn't be doing so.

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Tested-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Acked-by: Aurelien Aptel <aaptel@suse.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Willy Tarreau <w@1wt.eu>
fs/cifs/connect.c