diff options
author | Steve French <stfrench@microsoft.com> | 2022-10-01 11:44:08 -0500 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2022-10-05 17:40:41 -0500 |
commit | 4659f01e3cd94f64d9bd06764ace2ef8fe1b6227 (patch) | |
tree | c15f420e1ad7c3324e1fb59bc91a6aaecb92e25d /fs/cifs/cifsproto.h | |
parent | 3afdfb0dd4baed45b7010e672e44c21fa790bace (diff) | |
download | linux-4659f01e3cd94f64d9bd06764ace2ef8fe1b6227.tar.gz |
smb3: do not log confusing message when server returns no network interfaces
Some servers can return an empty network interface list so, unless
multichannel is requested, no need to log an error for this, and
when multichannel is requested on mount but no interfaces, log
something less confusing. For this case change
parse_server_interfaces: malformed interface info
to
empty network interface list returned by server localhost
Also do not relog this error every ten minutes (only log on mount, once)
Cc: <stable@vger.kernel.org>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 3bc94bcc7177..71386978858e 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -639,7 +639,7 @@ cifs_chan_is_iface_active(struct cifs_ses *ses, int cifs_chan_update_iface(struct cifs_ses *ses, struct TCP_Server_Info *server); int -SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon); +SMB3_request_interfaces(const unsigned int xid, struct cifs_tcon *tcon, bool in_mount); void extract_unc_hostname(const char *unc, const char **h, size_t *len); int copy_path_name(char *dst, const char *src); |