From: Miklos Szeredi Date: Fri, 29 Jul 2016 10:05:23 +0000 (+0200) Subject: ovl: permission: return ECHILD instead of ENOENT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a999d7e161a085e30181d0a88f049bd92112e172;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ovl: permission: return ECHILD instead of ENOENT The error is due to RCU and is temporary. Signed-off-by: Miklos Szeredi --- diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c index 041db9c6621c..0598c169ce41 100644 --- a/fs/overlayfs/inode.c +++ b/fs/overlayfs/inode.c @@ -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; } /*