2
0
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:
Miklos Szeredi 2016-07-29 12:05:23 +02:00
parent d719e8f268
commit a999d7e161

View File

@ -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;
}
/*