reiserfs_permission() doesn't need to bail out in RCU mode
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>
This commit is contained in:
parent
cf12791116
commit
1d29b5a2ed
1 changed files with 0 additions and 2 deletions
|
@ -954,8 +954,6 @@ static int xattr_mount_check(struct super_block *s)
|
||||||
|
|
||||||
int reiserfs_permission(struct inode *inode, int mask, unsigned int flags)
|
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.
|
* We don't do permission checks on the internal objects.
|
||||||
* Permissions are determined by the "owning" object.
|
* Permissions are determined by the "owning" object.
|
||||||
|
|
Loading…
Reference in a new issue