aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/connect.c
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2019-10-05 10:53:58 -0500
committerSteve French <stfrench@microsoft.com>2019-10-08 18:19:40 -0700
commitd0959b080b1faa9741857ef607c90531b66e2fb8 (patch)
treeafd11a12c826d5deffdb80285b47e555d786313f /fs/cifs/connect.c
parentCIFS: Gracefully handle QueryInfo errors during open (diff)
downloadlinux-dev-d0959b080b1faa9741857ef607c90531b66e2fb8.tar.xz
linux-dev-d0959b080b1faa9741857ef607c90531b66e2fb8.zip
smb3: remove noisy debug message and minor cleanup
Message was intended only for developer temporary build In addition cleanup two minor warnings noticed by Coverity and a trivial change to workaround a sparse warning Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Diffstat (limited to '')
-rw-r--r--fs/cifs/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index b724227b853c..a64dfa95a925 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -4445,7 +4445,7 @@ static int setup_dfs_tgt_conn(const char *path,
int rc;
struct dfs_info3_param ref = {0};
char *mdata = NULL, *fake_devname = NULL;
- struct smb_vol fake_vol = {0};
+ struct smb_vol fake_vol = {NULL};
cifs_dbg(FYI, "%s: dfs path: %s\n", __func__, path);