diff options
author | Dan Williams <dan.j.williams@intel.com> | 2018-07-13 21:49:34 -0700 |
---|---|---|
committer | Dave Jiang <dave.jiang@intel.com> | 2018-07-20 11:19:15 -0700 |
commit | 226ab561075f6f8f3cd5f7b3b7544f3997aab51f (patch) | |
tree | 20723173abf522721a86c034b3876ee48a5f337c /net | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff) | |
download | linux-226ab561075f6f8f3cd5f7b3b7544f3997aab51f.tar.gz linux-226ab561075f6f8f3cd5f7b3b7544f3997aab51f.tar.bz2 linux-226ab561075f6f8f3cd5f7b3b7544f3997aab51f.zip |
device-dax: Convert to vmf_insert_mixed and vm_fault_t
Use new return type vm_fault_t for fault and huge_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.
Commit 1c8f422059ae ("mm: change return type to vm_fault_t")
Previously vm_insert_mixed() returned an error code which driver mapped into
VM_FAULT_* type. The new function vmf_insert_mixed() will replace this
inefficiency by returning VM_FAULT_* type.
Signed-off-by: Souptick Joarder <jrdr.linux@gmail.com>
Reviewed-by: Matthew Wilcox <willy@infradead.org>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions