switch security_inode_getattr() to struct path *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
2247386243
commit
3f7036a071
10 changed files with 24 additions and 35 deletions
|
@ -66,7 +66,7 @@ int vfs_getattr(struct path *path, struct kstat *stat)
|
|||
{
|
||||
int retval;
|
||||
|
||||
retval = security_inode_getattr(path->mnt, path->dentry);
|
||||
retval = security_inode_getattr(path);
|
||||
if (retval)
|
||||
return retval;
|
||||
return vfs_getattr_nosec(path, stat);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue