projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
185bf87
)
bad_inode_permission() is safe from RCU mode
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 18 Jun 2011 23:59:04 +0000
(19:59 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 20 Jun 2011 14:44:00 +0000
(10:44 -0400)
return -EIO; is *not* a blocking operation, thank you very much.
Nick, what the hell have you been smoking?
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/bad_inode.c
patch
|
blob
|
history
diff --git
a/fs/bad_inode.c
b/fs/bad_inode.c
index
9ad2369
..
bfcb18f
100644
(file)
--- a/
fs/bad_inode.c
+++ b/
fs/bad_inode.c
@@
-231,9
+231,6
@@
static int bad_inode_readlink(struct dentry *dentry, char __user *buffer,
static int bad_inode_permission(struct inode *inode, int mask, unsigned int flags)
{
- if (flags & IPERM_FLAG_RCU)
- return -ECHILD;
-
return -EIO;
}