summaryrefslogtreecommitdiffstats
path: root/fs/attr.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2022-05-10 09:42:05 +1000
committerSteve French <stfrench@microsoft.com>2022-05-21 12:23:08 -0500
commit198bf836dfb9c76105c93e6a3138ed1a33841fad (patch)
treef7bbfb1a29686de7fb9c719d84be0b31435362a2 /fs/attr.c
parentf695b2893505a5ac812f32167b48b028a4e41494 (diff)
downloadlinux-198bf836dfb9c76105c93e6a3138ed1a33841fad.tar.bz2
cifs: check for smb1 in open_cached_dir()
Check protocol version in open_cached_dir() and return not supported for SMB1. This allows us to call open_cached_dir() from code that is common to both smb1 and smb2/3 in future patches without having to do this check in the call-site. At the same time, add a check if tcon is valid or not for the same reason. Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Reviewed-by: Enzo Matsumiya <ematsumiya@suse.de> Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions