mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-25 12:00:22 +09:00
ksmbd: Fix parameter name and comment mismatch
[ Upstream commit 63f09a9986 ]
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0d3f06fd65
commit
d625db885a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user