projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bnx2x: registers dump fixes
[deliverable/linux.git]
/
fs
/
bad_inode.c
diff --git
a/fs/bad_inode.c
b/fs/bad_inode.c
index f024d8aaddefff929ec7d557fdfc6449ab7825b8..9ad2369d9e35e0651885a78dc3648ef9dbe8c412 100644
(file)
--- a/
fs/bad_inode.c
+++ b/
fs/bad_inode.c
@@
-229,8
+229,11
@@
static int bad_inode_readlink(struct dentry *dentry, char __user *buffer,
return -EIO;
}
-static int bad_inode_permission(struct inode *inode, int mask)
+static int bad_inode_permission(struct inode *inode, int mask
, unsigned int flags
)
{
+ if (flags & IPERM_FLAG_RCU)
+ return -ECHILD;
+
return -EIO;
}
This page took
0.023952 seconds
and
5
git commands to generate.