diff options
Diffstat (limited to 'fs/stat.c')
-rw-r--r-- | fs/stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ int vfs_getattr(struct path *path, struct kstat *stat) | |||
66 | { | 66 | { |
67 | int retval; | 67 | int retval; |
68 | 68 | ||
69 | retval = security_inode_getattr(path->mnt, path->dentry); | 69 | retval = security_inode_getattr(path); |
70 | if (retval) | 70 | if (retval) |
71 | return retval; | 71 | return retval; |
72 | return vfs_getattr_nosec(path, stat); | 72 | return vfs_getattr_nosec(path, stat); |