diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2016-07-29 12:05:23 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2016-07-29 12:05:23 +0200 |
commit | a999d7e161a085e30181d0a88f049bd92112e172 (patch) | |
tree | 521d21dbd51aba3a8af4f93c4705f5e1a22ed17c /fs/overlayfs/inode.c | |
parent | d719e8f268fa4f9944b24b60814da9017dfb7787 (diff) | |
download | linux-a999d7e161a085e30181d0a88f049bd92112e172.tar.gz linux-a999d7e161a085e30181d0a88f049bd92112e172.tar.bz2 linux-a999d7e161a085e30181d0a88f049bd92112e172.zip |
ovl: permission: return ECHILD instead of ENOENT
The error is due to RCU and is temporary.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/inode.c')
-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 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; } /* |