From: Mickaël Salaün Date: Wed, 21 Dec 2016 23:32:25 +0000 (+0100) Subject: security: Fix inode_getattr documentation X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b8aa8453918ebfd93d78de56c2afd4b735e02e27;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git security: Fix inode_getattr documentation Replace arguments @mnt and @dentry with @path. Signed-off-by: Mickaël Salaün Acked-by: Serge Hallyn Signed-off-by: James Morris --- diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 558adfa5c8a8..9cf50ad2fe20 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h @@ -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