projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d139371
)
fs/dax: Convert to use vmf_error()
author
Souptick Joarder
<jrdr.linux@gmail.com>
Fri, 4 Jan 2019 19:24:11 +0000
(
00:54
+0530)
committer
Dan Williams
<dan.j.williams@intel.com>
Wed, 13 Feb 2019 04:22:45 +0000
(20:22 -0800)
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>
fs/dax.c
patch
|
blob
|
history
diff --git
a/fs/dax.c
b/fs/dax.c
index
6959837
..
7865d90
100644
(file)
--- a/
fs/dax.c
+++ b/
fs/dax.c
@@
-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);
}
/*