mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-29 21:14:45 +08:00
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);
|
||||
if (!realinode) {
|
||||
WARN_ON(!(mask & MAY_NOT_BLOCK));
|
||||
return -ENOENT;
|
||||
return -ECHILD;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user