diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2019-01-04 22:24:11 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-02-13 07:22:45 +0300 |
commit | c9aed74e6a2762c32e9b84fcd5e1b9bc451ffdfd (patch) | |
tree | df9b5b3f16b4dc429e0b174d1269a7d7bb42a875 | |
parent | d13937116f1e82bf508a6325111b322c30c85eb9 (diff) | |
download | linux-c9aed74e6a2762c32e9b84fcd5e1b9bc451ffdfd.tar.xz |
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>
-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); } /* |