author: Hao Li <lihao2018.fnst@cn.fujitsu.com> 2020-07-29 11:44:36 +0800
committer: Vishal Verma <vishal.l.verma@intel.com> 2020-07-30 18:14:33 -0600
commit: 49688e654e48ae176b5bfda33d2416b68e607ce8
parent: cbeb0310cfda7b6148f417e36b96539101d7f449
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/dax.c b/fs/dax.c
index 3e0babeb0365..95341af1a966 100644
--- a/fs/dax.c
+++ b/fs/dax.c
@@ -488,7 +488,7 @@ retry:
if (dax_is_conflict(entry))
goto fallback;
if (!xa_is_value(entry)) {
- xas_set_err(xas, EIO);
+ xas_set_err(xas, -EIO);
goto out_unlock;
}