diff options
author | Thiago Rafael Becker <tbecker@redhat.com> | 2023-04-05 16:16:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-04-13 17:55:32 +0300 |
commit | fb9ec305e7649aa76e6055d77cddd2bb691fd74a (patch) | |
tree | cf82c0a6757511d664d489e9c931841d8242a5e3 /drivers/block | |
parent | 012c045d612806bcdc0d0db85393cb0589233f9f (diff) | |
download | linux-fb9ec305e7649aa76e6055d77cddd2bb691fd74a.tar.xz |
cifs: sanitize paths in cifs_update_super_prepath.
[ Upstream commit d19342c6609b67f2ba83b9eccca2777e3687f625 ]
After a server reboot, clients are failing to move files with ENOENT.
This is caused by DFS referrals containing multiple separators, which
the server move call doesn't recognize.
v1: Initial patch.
v2: Move prototype to header.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2182472
Fixes: a31080899d5f ("cifs: sanitize multiple delimiters in prepath")
Actually-Fixes: 24e0a1eff9e2 ("cifs: switch to new mount api")
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Thiago Rafael Becker <tbecker@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions