Commit dd8ac699 authored by Miklos Szeredi's avatar Miklos Szeredi

ovl: return EIO on internal error

EIO better represents an internal error than ENOENT.
Signed-off-by: default avatarMiklos Szeredi <mszeredi@redhat.com>
parent f73cc77c
......@@ -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 = -ENOENT;
err = -EIO;
}
out:
if (err) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment