]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ksmbd: Fix parameter name and comment mismatch
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Wed, 8 Feb 2023 00:30:30 +0000 (09:30 +0900)
committerSteve French <stfrench@microsoft.com>
Wed, 15 Feb 2023 06:04:38 +0000 (00:04 -0600)
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>
fs/ksmbd/vfs.c

index ff0e7a4fcd4de5df2892ca6de1f43319477be2cb..0f0d6158c88e05c1edfe8d7fdeb347314277c336 100644 (file)
@@ -951,9 +951,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