Commit a999d7e1 authored by Miklos Szeredi's avatar Miklos Szeredi

ovl: permission: return ECHILD instead of ENOENT

The error is due to RCU and is temporary.
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent d719e8f2
...@@ -128,7 +128,7 @@ int ovl_permission(struct inode *inode, int mask) ...@@ -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;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment