summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsglob.h
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/cifsglob.h
parent30573a82fb179420b8aac30a3a3595aa96a93156 (diff)
downloadlinux-d0959b080b1faa9741857ef607c90531b66e2fb8.tar.bz2
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 'fs/cifs/cifsglob.h')
-rw-r--r--fs/cifs/cifsglob.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 2e960e1049db..50dfd9049370 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -1210,7 +1210,7 @@ struct cifs_search_info {
bool smallBuf:1; /* so we know which buf_release function to call */
};
-#define ACL_NO_MODE -1
+#define ACL_NO_MODE ((umode_t)(-1))
struct cifs_open_parms {
struct cifs_tcon *tcon;
struct cifs_sb_info *cifs_sb;