Skip to content

Commit c8ebf07

Browse files
author
Steve French
committed
smb3: fix confusing debug message
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>
1 parent 7fb77d9 commit c8ebf07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/smb/client/smb2pdu.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ add_posix_context(struct kvec *iov, unsigned int *num_iovec, umode_t mode)
848848

849849
iov[num].iov_base = create_posix_buf(mode);
850850
if (mode == ACL_NO_MODE)
851-
cifs_dbg(FYI, "Invalid mode\n");
851+
cifs_dbg(FYI, "%s: no mode\n", __func__);
852852
if (iov[num].iov_base == NULL)
853853
return -ENOMEM;
854854
iov[num].iov_len = sizeof(struct create_posix);

0 commit comments

Comments
 (0)