diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2019-01-05 00:54:11 +0530 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-02-12 20:22:45 -0800 |
commit | c9aed74e6a2762c32e9b84fcd5e1b9bc451ffdfd (patch) | |
tree | df9b5b3f16b4dc429e0b174d1269a7d7bb42a875 /fs/dax.c | |
parent | d13937116f1e82bf508a6325111b322c30c85eb9 (diff) | |
download | lwn-c9aed74e6a2762c32e9b84fcd5e1b9bc451ffdfd.tar.gz lwn-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); } /* |