mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
cifs: sanitize paths in cifs_update_super_prepath.
[ Upstream commitd19342c660] 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:a31080899d("cifs: sanitize multiple delimiters in prepath") Actually-Fixes:24e0a1eff9("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>
This commit is contained in:
parent
012c045d61
commit
fb9ec305e7
3 changed files with 11 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue