提交 dd8ac699 编写于 作者: M Miklos Szeredi

ovl: return EIO on internal error

EIO better represents an internal error than ENOENT.
Signed-off-by: NMiklos Szeredi <mszeredi@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册