projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "ocfs2: incorrect check for debugfs returns"
[firefly-linux-kernel-4.4.55.git]
/
fs
/
stat.c
diff --git
a/fs/stat.c
b/fs/stat.c
index ae0c3cef9927e64fb1f21ccf1848155825fc79ef..19636af5e75cc16614f790519c6111599d906830 100644
(file)
--- a/
fs/stat.c
+++ b/
fs/stat.c
@@
-66,7
+66,7
@@
int vfs_getattr(struct path *path, struct kstat *stat)
{
int retval;
{
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);
if (retval)
return retval;
return vfs_getattr_nosec(path, stat);