]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ksmbd: Fix parameter name and comment mismatch
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Mon, 18 Dec 2023 15:33:36 +0000 (00:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Dec 2023 09:41:54 +0000 (10:41 +0100)
[ Upstream commit 63f09a9986eb58578ed6ad0e27a6e2c54e49f797 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/ksmbd/vfs.c

index d7814397764c478aef2a34f46248bf35ca0eb1c9..90f657f3b48fe6ec2c05709f44e9b9e232fcc8d8 100644 (file)
@@ -950,9 +950,9 @@ ssize_t ksmbd_vfs_getxattr(struct user_namespace *user_ns,
  * ksmbd_vfs_setxattr() - vfs helper for smb set extended attributes value
  * @user_ns:   user namespace
  * @dentry:    dentry to set XATTR at
- * @name:      xattr name for setxattr
- * @value:     xattr value to set
- * @size:      size of xattr value
+ * @attr_name: xattr name for setxattr
+ * @attr_value:        xattr value to set
+ * @attr_size: size of xattr value
  * @flags:     destination buffer length
  *
  * Return:     0 on success, otherwise error