Skip to content

Commit 63f09a9

Browse files
wb-zjp846396smfrench
authored andcommitted
ksmbd: Fix parameter name and comment mismatch
fs/ksmbd/vfs.c:965: warning: Function parameter or member 'attr_value' not described in 'ksmbd_vfs_setxattr'. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3946 Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Reviewed-by: Sergey Senozhatsky <senozhatsky@chromium.org> Signed-off-by: Steve French <stfrench@microsoft.com>
1 parent 7a17c61 commit 63f09a9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

fs/ksmbd/vfs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -951,9 +951,9 @@ ssize_t ksmbd_vfs_getxattr(struct user_namespace *user_ns,
951951
* ksmbd_vfs_setxattr() - vfs helper for smb set extended attributes value
952952
* @user_ns: user namespace
953953
* @dentry: dentry to set XATTR at
954-
* @name: xattr name for setxattr
955-
* @value: xattr value to set
956-
* @size: size of xattr value
954+
* @attr_name: xattr name for setxattr
955+
* @attr_value: xattr value to set
956+
* @attr_size: size of xattr value
957957
* @flags: destination buffer length
958958
*
959959
* Return: 0 on success, otherwise error

0 commit comments

Comments
 (0)