projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/overlayfs/inode.c
b/fs/overlayfs/inode.c
index 041db9c6621ca5f462d36f1278db1802e78337a7..0598c169ce419fc33b32ffae88f46ac394be6a9a 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
;
}
/*