projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d719e8f
)
ovl: permission: return ECHILD instead of ENOENT
author
Miklos Szeredi
<mszeredi@redhat.com>
Fri, 29 Jul 2016 10:05:23 +0000
(12:05 +0200)
committer
Miklos Szeredi
<mszeredi@redhat.com>
Fri, 29 Jul 2016 10:05:23 +0000
(12:05 +0200)
The error is due to RCU and is temporary.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/inode.c
patch
|
blob
|
history
diff --git
a/fs/overlayfs/inode.c
b/fs/overlayfs/inode.c
index
041db9c
..
0598c16
100644
(file)
--- 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 -E
NOENT
;
+ return -E
CHILD
;
}
/*