projects
/
wrapfs-3.4.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1a643a
)
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 03:11:33 +0000
(22:11 -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 0d7550fb29df65fe211a420ba35ad6590ea19fd7..57786e1a62de9ba3434eaaa84e4e178d57bf7b0b 100644
(file)
--- a/
fs/wrapfs/inode.c
+++ b/
fs/wrapfs/inode.c
@@
-396,14
+396,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;