diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2019-01-04 20:24:11 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-02-13 05:22:45 +0100 |
commit | c9aed74e6a2762c32e9b84fcd5e1b9bc451ffdfd (patch) | |
tree | df9b5b3f16b4dc429e0b174d1269a7d7bb42a875 /fs/dax.c | |
parent | Linux 5.0-rc6 (diff) | |
download | linux-c9aed74e6a2762c32e9b84fcd5e1b9bc451ffdfd.tar.xz linux-c9aed74e6a2762c32e9b84fcd5e1b9bc451ffdfd.zip |
fs/dax: Convert to use vmf_error()
This code is converted to use vmf_error().
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'fs/dax.c')
-rw-r--r-- | fs/dax.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1220,9 +1220,7 @@ static vm_fault_t dax_fault_return(int error) { if (error == 0) return VM_FAULT_NOPAGE; - if (error == -ENOMEM) - return VM_FAULT_OOM; - return VM_FAULT_SIGBUS; + return vmf_error(error); } /* |