diff options
| author | Shyam Prasad N <[email protected]> | 2023-10-13 11:33:21 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2023-11-10 09:33:15 -0600 |
| commit | 705fc522fe9d58848c253ee0948567060f36e2a7 (patch) | |
| tree | 376e28959230fc18487a6cfd256424f48df138ac /fs/smb/client/connect.c | |
| parent | 784e0e20b4c97c270b2892f677d3fad658e2c1d5 (diff) | |
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 <[email protected]>
Diffstat (limited to 'fs/smb/client/connect.c')
| -rw-r--r-- | fs/smb/client/connect.c | 3 |
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); } |