summaryrefslogtreecommitdiff
path: root/fs/smb/client/connect.c
diff options
context:
space:
mode:
authorShyam Prasad N <sprasad@microsoft.com>2023-10-13 14:33:21 +0300
committerSteve French <stfrench@microsoft.com>2023-11-10 18:33:15 +0300
commit705fc522fe9d58848c253ee0948567060f36e2a7 (patch)
tree376e28959230fc18487a6cfd256424f48df138ac /fs/smb/client/connect.c
parent784e0e20b4c97c270b2892f677d3fad658e2c1d5 (diff)
downloadlinux-705fc522fe9d58848c253ee0948567060f36e2a7.tar.xz
cifs: handle when server starts supporting multichannel
When the user mounts with multichannel option, but the server does not support it, there can be a time in future where it can be supported. With this change, such a case is handled. Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Diffstat (limited to 'fs/smb/client/connect.c')
-rw-r--r--fs/smb/client/connect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/smb/client/connect.c b/fs/smb/client/connect.c
index b514b41cc9f0..1490547ec493 100644
--- a/fs/smb/client/connect.c
+++ b/fs/smb/client/connect.c
@@ -132,6 +132,9 @@ static void smb2_query_server_interfaces(struct work_struct *work)
free_xid(xid);
if (rc) {
+ if (rc == -EOPNOTSUPP)
+ return;
+
cifs_dbg(FYI, "%s: failed to query server interfaces: %d\n",
__func__, rc);
}