projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf12791
)
reiserfs_permission() doesn't need to bail out in RCU mode
author
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 19 Jun 2011 00:37:33 +0000
(20:37 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 20 Jun 2011 14:45:21 +0000
(10:45 -0400)
nothing blocking other than generic_permission() (and
check_acl callback does bail out in RCU mode).
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/reiserfs/xattr.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/reiserfs/xattr.c
b/fs/reiserfs/xattr.c
index e8a62f41b458010b6922c763b6644b230b96fac4..d78089690965b3540344ea8fafbd9403fe825cf8 100644
(file)
--- a/
fs/reiserfs/xattr.c
+++ b/
fs/reiserfs/xattr.c
@@
-954,8
+954,6
@@
static int xattr_mount_check(struct super_block *s)
int reiserfs_permission(struct inode *inode, int mask, unsigned int flags)
{
- if (flags & IPERM_FLAG_RCU)
- return -ECHILD;
/*
* We don't do permission checks on the internal objects.
* Permissions are determined by the "owning" object.