Skip to content

Commit 5585263

Browse files
rddunlapAl Viro
authored andcommitted
fs: fix fs/namei.c kernel-doc warnings
Fix kernel-doc warnings in fs/namei.c: Warning(fs/namei.c:360): No description found for parameter 'inode' Warning(fs/namei.c:672): No description found for parameter 'nd' Signed-off-by: Randy Dunlap <[email protected]> Cc: Alexander Viro <[email protected]> Cc: [email protected] Signed-off-by: Al Viro <[email protected]>
1 parent 9802274 commit 5585263

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/namei.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,7 @@ int __inode_permission(struct inode *inode, int mask)
352352
/**
353353
* sb_permission - Check superblock-level permissions
354354
* @sb: Superblock of inode to check permission on
355+
* @inode: Inode to check permission on
355356
* @mask: Right to check for (%MAY_READ, %MAY_WRITE, %MAY_EXEC)
356357
*
357358
* Separate out file-system wide checks from inode-specific permission checks.
@@ -656,6 +657,7 @@ int sysctl_protected_hardlinks __read_mostly = 1;
656657
/**
657658
* may_follow_link - Check symlink following for unsafe situations
658659
* @link: The path of the symlink
660+
* @nd: nameidata pathwalk data
659661
*
660662
* In the case of the sysctl_protected_symlinks sysctl being enabled,
661663
* CAP_DAC_OVERRIDE needs to be specifically ignored if the symlink is

0 commit comments

Comments
 (0)