diff options
-rw-r--r-- | fs/overlayfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/overlayfs/inode.c b/fs/overlayfs/inode.c index 041db9c..0598c16 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; } /* |