projects
/
wrapfs-4.6.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8220a6
)
Wrapfs: new ->permission prototype and fixes.
author
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 6 Sep 2011 04:10:28 +0000
(
00:10
-0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Tue, 27 Dec 2016 19:04:53 +0000
(14:04 -0500)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/wrapfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/wrapfs/inode.c
b/fs/wrapfs/inode.c
index b37fe9dce8be650e39bd55326cd70cccfba1fdee..47759a5a26020181ea7962b452edc6642593a3b1 100644
(file)
--- a/
fs/wrapfs/inode.c
+++ b/
fs/wrapfs/inode.c
@@
-399,14
+399,11
@@
static void wrapfs_put_link(struct dentry *dentry, struct nameidata *nd,
kfree(buf);
}
-static int wrapfs_permission(struct inode *inode, int mask
, unsigned int flags
)
+static int wrapfs_permission(struct inode *inode, int mask)
{
struct inode *lower_inode;
int err;
- if (flags & IPERM_FLAG_RCU)
- return -ECHILD;
-
lower_inode = wrapfs_lower_inode(inode);
err = inode_permission(lower_inode, mask);
return err;