commit | 3f7036a071b879da017eddaedb10fba173fdf1ff | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sun Mar 08 19:28:30 2015 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Apr 11 22:24:32 2015 -0400 |
tree | 2160617c1812915583de79d2ee85913eb247e2a4 | |
parent | 2247386243747500977dc92b1ab833401303f9f0 [diff] [blame] |
switch security_inode_getattr() to struct path * Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/fs/stat.c b/fs/stat.c index ae0c3ce..19636af 100644 --- a/fs/stat.c +++ b/fs/stat.c
@@ -66,7 +66,7 @@ { 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);