OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73cc77
)
ovl: return EIO on internal error
author
Miklos Szeredi
<mszeredi@redhat.com>
Thu, 31 May 2018 09:06:11 +0000
(11:06 +0200)
committer
Miklos Szeredi
<mszeredi@redhat.com>
Thu, 31 May 2018 09:06:11 +0000
(11:06 +0200)
EIO better represents an internal error than ENOENT.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/dir.c
patch
|
blob
|
history
diff --git
a/fs/overlayfs/dir.c
b/fs/overlayfs/dir.c
index
1d59c46
..
e8c7df0
100644
(file)
--- a/
fs/overlayfs/dir.c
+++ b/
fs/overlayfs/dir.c
@@
-191,7
+191,7
@@
struct dentry *ovl_create_real(struct inode *dir, struct dentry *newdentry,
* Not quite sure if non-instantiated dentry is legal or not.
* VFS doesn't seem to care so check and warn here.
*/
- err = -E
NOENT
;
+ err = -E
IO
;
}
out:
if (err) {