OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2f84e
)
cifs: fix confusing warning message on reconnect
author
Steve French
<stfrench@microsoft.com>
Tue, 1 Jan 2019 23:19:45 +0000
(17:19 -0600)
committer
Steve French
<stfrench@microsoft.com>
Thu, 3 Jan 2019 05:03:56 +0000
(23:03 -0600)
When DFS is not used on the mount we should not be mentioning
DFS in the warning message on reconnect (it could be confusing).
Signed-off-by: Steve French <stfrench@microsoft.com>
Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
fs/cifs/connect.c
patch
|
blob
|
history
diff --git
a/fs/cifs/connect.c
b/fs/cifs/connect.c
index
69b9d56
..
f665296
100644
(file)
--- a/
fs/cifs/connect.c
+++ b/
fs/cifs/connect.c
@@
-483,7
+483,7
@@
cifs_reconnect(struct TCP_Server_Info *server)
cifs_sb = NULL;
} else {
rc = reconn_setup_dfs_targets(cifs_sb, &tgt_list, &tgt_it);
- if (rc) {
+ if (rc
&& (rc != -EOPNOTSUPP)
) {
cifs_dbg(VFS, "%s: no target servers for DFS failover\n",
__func__);
} else {