summaryrefslogtreecommitdiffstats
path: root/fs/read_write.c
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@cjr.nz>2023-01-10 19:23:21 -0300
committerSteve French <stfrench@microsoft.com>2023-01-10 23:24:14 -0600
commit22aeb01db7080e18c6aeb4361cc2556c9887099a (patch)
tree22dd189fd02e656841875d2f6cc08bcf5bb32ce3 /fs/read_write.c
parent39e8db3c860e2678ce5a7d74193925876507c9eb (diff)
downloadlinux-22aeb01db7080e18c6aeb4361cc2556c9887099a.tar.gz
linux-22aeb01db7080e18c6aeb4361cc2556c9887099a.tar.bz2
linux-22aeb01db7080e18c6aeb4361cc2556c9887099a.zip
cifs: do not query ifaces on smb1 mounts
Users have reported the following error on every 600 seconds (SMB_INTERFACE_POLL_INTERVAL) when mounting SMB1 shares: CIFS: VFS: \\srv\share error -5 on ioctl to get interface list It's supported only by SMB2+, so do not query network interfaces on SMB1 mounts. Fixes: 6e1c1c08cdf3 ("cifs: periodically query network interfaces from server") Reviewed-by: Shyam Prasad N <sprasad@microsoft.com> Reviewed-by: Tom Talpey <tom@talpey.com> Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/read_write.c')
0 files changed, 0 insertions, 0 deletions