commit | 1712c20dae7b770b62b2e3272100b3b40af0157c | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jun 18 19:59:04 2011 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Mon Jun 20 10:44:00 2011 -0400 |
tree | 33dd9e2728421ab0ac14f2c30c07f91c7295d208 | |
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>
diff --git a/fs/bad_inode.c b/fs/bad_inode.c index 9ad2369..bfcb18f 100644 --- a/fs/bad_inode.c +++ b/fs/bad_inode.c
@@ -231,9 +231,6 @@ static int bad_inode_permission(struct inode *inode, int mask, unsigned int flags) { - if (flags & IPERM_FLAG_RCU) - return -ECHILD; - return -EIO; }