projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
729cdb3
)
ecryptfs_inode_permission() doesn't need to bail out on RCU
author
Al Viro
<viro@zeniv.linux.org.uk>
Tue, 21 Jun 2011 05:01:59 +0000
(
01:01
-0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Wed, 20 Jul 2011 05:43:38 +0000
(
01:43
-0400)
... now that inode_permission() can take MAY_NOT_BLOCK and handle it
properly.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ecryptfs/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ecryptfs/inode.c
b/fs/ecryptfs/inode.c
index bec75f8e91acb800c882614e4cfdf628136baf75..799e01055f224e5514819da88be00a58ca3ba340 100644
(file)
--- a/
fs/ecryptfs/inode.c
+++ b/
fs/ecryptfs/inode.c
@@
-944,8
+944,6
@@
int ecryptfs_truncate(struct dentry *dentry, loff_t new_length)
static int
ecryptfs_permission(struct inode *inode, int mask)
{
- if (mask & MAY_NOT_BLOCK)
- return -ECHILD;
return inode_permission(ecryptfs_inode_to_lower(inode), mask);
}