summaryrefslogtreecommitdiffstats
path: root/fs/attr.c
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2022-06-27 15:40:45 +0200
committerChristian Brauner (Microsoft) <brauner@kernel.org>2022-06-27 16:08:31 +0200
commit81a1807d80dd26cdf8a357cf55f556ade90c7fda (patch)
tree63251445fac33991ab83701cc40ff4648ea6fd5d /fs/attr.c
parentb27c82e1296572cfa3997e58db3118a33915f85c (diff)
downloadlinux-stable-81a1807d80dd26cdf8a357cf55f556ade90c7fda.tar.gz
linux-stable-81a1807d80dd26cdf8a357cf55f556ade90c7fda.tar.bz2
linux-stable-81a1807d80dd26cdf8a357cf55f556ade90c7fda.zip
attr: fix kernel doc
When building kernel documentation new warnings were generated because the name in the parameter documentation didn't match the parameter name. Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Diffstat (limited to 'fs/attr.c')
-rw-r--r--fs/attr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/attr.c b/fs/attr.c
index 1ba7ddef537f..b5b8835ddf15 100644
--- a/fs/attr.c
+++ b/fs/attr.c
@@ -22,7 +22,7 @@
* chown_ok - verify permissions to chown inode
* @mnt_userns: user namespace of the mount @inode was found from
* @inode: inode to check permissions on
- * @uid: uid to chown @inode to
+ * @ia_vfsuid: uid to chown @inode to
*
* If the inode has been found through an idmapped mount the user namespace of
* the vfsmount must be passed through @mnt_userns. This function will then
@@ -49,7 +49,7 @@ static bool chown_ok(struct user_namespace *mnt_userns,
* chgrp_ok - verify permissions to chgrp inode
* @mnt_userns: user namespace of the mount @inode was found from
* @inode: inode to check permissions on
- * @gid: gid to chown @inode to
+ * @ia_vfsgid: gid to chown @inode to
*
* If the inode has been found through an idmapped mount the user namespace of
* the vfsmount must be passed through @mnt_userns. This function will then