projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pull release into acpica branch
[powerpc.git]
/
fs
/
inotify.c
diff --git
a/fs/inotify.c
b/fs/inotify.c
index
9fbaebf
..
bf7ce1d
100644
(file)
--- a/
fs/inotify.c
+++ b/
fs/inotify.c
@@
-372,7
+372,7
@@
static int find_inode(const char __user *dirname, struct nameidata *nd)
if (error)
return error;
/* you can only watch an inode if you have read permissions on it */
- error =
permission(nd->dentry->d_inode, MAY_READ, NULL
);
+ error =
vfs_permission(nd, MAY_READ
);
if (error)
path_release(nd);
return error;