]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
security: Fix inode_getattr documentation
authorMickaël Salaün <mic@digikod.net>
Wed, 21 Dec 2016 23:32:25 +0000 (00:32 +0100)
committerJames Morris <james.l.morris@oracle.com>
Tue, 10 Jan 2017 06:39:23 +0000 (17:39 +1100)
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>
include/linux/lsm_hooks.h

index 558adfa5c8a87730f0d0177a1def7570e4883596..9cf50ad2fe205f8e4260921b842ee617e94d3ffb 100644 (file)
  *     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