diff options
author | 2018-06-07 17:09:17 -0700 | |
---|---|---|
committer | 2018-06-07 17:34:37 -0700 | |
commit | 20acce679910fb6d30a89fa02586a3b4a134dfeb (patch) | |
tree | 0b3d8b90596946d27bf218b3f5c184412a4ea370 /lib | |
parent | slub: remove 'reserved' file from sysfs (diff) | |
download | linux-dev-20acce679910fb6d30a89fa02586a3b4a134dfeb.tar.xz linux-dev-20acce679910fb6d30a89fa02586a3b4a134dfeb.zip |
mm/shmem.c: use new return type vm_fault_t
Use new return type vm_fault_t for fault handler. For now, this is just
documenting that the function returns a VM_FAULT value rather than an
errno. Once all instances are converted, vm_fault_t will become a
distinct type.
See commit 1c8f422059ae ("mm: change return type to vm_fault_t")
vmf_error() is the newly introduce inline function in 4.17-rc6.
Link: http://lkml.kernel.org/r/20180521202410.GA17912@jordon-HP-15-Notebook-PC
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <mawilcox@microsoft.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions