projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fb77d9
)
smb3: fix confusing debug message
author
Steve French
<stfrench@microsoft.com>
Thu, 21 Sep 2023 00:50:05 +0000
(19:50 -0500)
committer
Steve French
<stfrench@microsoft.com>
Thu, 21 Sep 2023 00:50:05 +0000
(19:50 -0500)
The message said it was an invalid mode, when it was intentionally
not set. Fix confusing message logged to dmesg.
Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2pdu.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/smb/client/smb2pdu.c
b/fs/smb/client/smb2pdu.c
index 405ea324f28df5d2e2b00363c151119a5f849ba4..c75a80bb6d9eefa8a76e8c03baea7af8b7740c25 100644
(file)
--- a/
fs/smb/client/smb2pdu.c
+++ b/
fs/smb/client/smb2pdu.c
@@
-848,7
+848,7
@@
add_posix_context(struct kvec *iov, unsigned int *num_iovec, umode_t mode)
iov[num].iov_base = create_posix_buf(mode);
if (mode == ACL_NO_MODE)
- cifs_dbg(FYI, "
Invalid mode\n"
);
+ cifs_dbg(FYI, "
%s: no mode\n", __func__
);
if (iov[num].iov_base == NULL)
return -ENOMEM;
iov[num].iov_len = sizeof(struct create_posix);