ovl: permission: return ECHILD instead of ENOENT
The error is due to RCU and is temporary. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
This commit is contained in:
parent
d719e8f268
commit
a999d7e161
|
@ -128,7 +128,7 @@ int ovl_permission(struct inode *inode, int mask)
|
||||||
realinode = d_inode_rcu(realdentry);
|
realinode = d_inode_rcu(realdentry);
|
||||||
if (!realinode) {
|
if (!realinode) {
|
||||||
WARN_ON(!(mask & MAY_NOT_BLOCK));
|
WARN_ON(!(mask & MAY_NOT_BLOCK));
|
||||||
return -ENOENT;
|
return -ECHILD;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue