]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Fix match_prepath()
authorSachin Prabhu <sprabhu@redhat.com>
Wed, 26 Apr 2017 13:05:46 +0000 (14:05 +0100)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 12 Oct 2017 14:28:22 +0000 (15:28 +0100)
commit9e839401a65a30d15cbe9a1255640cd5ce2b548d
tree04c067dfaafb84d791f848fe191faacecc2a4165
parent1d14078e5ba5745286c87a61d8c80f0defb77ae8
Fix match_prepath()

commit cd8c42968ee651b69e00f8661caff32b0086e82d upstream.

Incorrect return value for shares not using the prefix path means that
we will never match superblocks for these shares.

Fixes: commit c1d8b24d1819 ("Compare prepaths when comparing superblocks")
Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Cc: Aurélien Aptel <aaptel@suse.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
fs/cifs/connect.c