Skip to content
Commit d19342c6 authored by Thiago Rafael Becker's avatar Thiago Rafael Becker Committed by Steve French
Browse files

cifs: sanitize paths in cifs_update_super_prepath.

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: a3108089 ("cifs: sanitize multiple delimiters in prepath")
Actually-Fixes: 24e0a1ef ("cifs: switch to new mount api")
Reviewed-by: default avatarPaulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: default avatarThiago Rafael Becker <tbecker@redhat.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 7e364e56
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment