diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2023-10-13 14:33:21 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-01 03:18:48 +0300 |
commit | 5075e9f4e0461d4ce394c6e42338fae859bd926f (patch) | |
tree | e10ecf3a2e6d8549de8c0eb649278d5676e52025 /fs/smb/client/connect.c | |
parent | 173ddac64b472e9f4de827a30ecfdc66a4d39604 (diff) | |
download | linux-5075e9f4e0461d4ce394c6e42338fae859bd926f.tar.xz |
cifs: handle when server starts supporting multichannel
[ Upstream commit 705fc522fe9d58848c253ee0948567060f36e2a7 ]
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>
Stable-dep-of: 78e727e58e54 ("cifs: update iface_last_update on each query-and-update")
Signed-off-by: Sasha Levin <sashal@kernel.org>
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 2f5be7dcd1f9..c0b1f30eecd7 100644 --- a/fs/smb/client/connect.c +++ b/fs/smb/client/connect.c @@ -128,6 +128,9 @@ static void smb2_query_server_interfaces(struct work_struct *work) */ rc = SMB3_request_interfaces(0, tcon, false); if (rc) { + if (rc == -EOPNOTSUPP) + return; + cifs_dbg(FYI, "%s: failed to query server interfaces: %d\n", __func__, rc); } |