mirror of https://gitee.com/openkylin/linux.git
security: Fix inode_getattr documentation
Replace arguments @mnt and @dentry with @path. Signed-off-by: Mickaël Salaün <mic@digikod.net> Acked-by: Serge Hallyn <serge@hallyn.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
This commit is contained in:
parent
916cafdc95
commit
b8aa845391
|
@ -352,8 +352,7 @@
|
|||
* Return 0 if permission is granted.
|
||||
* @inode_getattr:
|
||||
* Check permission before obtaining file attributes.
|
||||
* @mnt is the vfsmount where the dentry was looked up
|
||||
* @dentry contains the dentry structure for the file.
|
||||
* @path contains the path structure for the file.
|
||||
* Return 0 if permission is granted.
|
||||
* @inode_setxattr:
|
||||
* Check permission before setting the extended attributes
|
||||
|
|
Loading…
Reference in New Issue