diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-18 19:59:04 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-06-20 10:44:00 -0400 |
commit | 1712c20dae7b770b62b2e3272100b3b40af0157c (patch) | |
tree | 33dd9e2728421ab0ac14f2c30c07f91c7295d208 /fs | |
parent | 185bf87393afe6b966881e36c459949d90930a7a (diff) |
bad_inode_permission() is safe from RCU mode
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bad_inode.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/bad_inode.c b/fs/bad_inode.c index 9ad2369d9e3..bfcb18feb1d 100644 --- 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; } |