mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mm/filemap.c: use vmf_error()
These codes can be replaced with new inline vmf_error(). Link: http://lkml.kernel.org/r/20180927171411.GA23331@jordon-HP-15-Notebook-PC Signed-off-by: Souptick Joarder <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Reviewed-by: Jan Kara <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
544db7597a
commit
3c0513243a
1 changed files with 1 additions and 3 deletions
|
|
@ -2596,9 +2596,7 @@ no_cached_page:
|
|||
* system is low on memory, or a problem occurs while trying
|
||||
* to schedule I/O.
|
||||
*/
|
||||
if (error == -ENOMEM)
|
||||
return VM_FAULT_OOM;
|
||||
return VM_FAULT_SIGBUS;
|
||||
return vmf_error(error);
|
||||
|
||||
page_not_uptodate:
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue