Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd8ac699 authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {