diff options
author | Jan Kara <jack@suse.cz> | 2016-12-15 02:07:21 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-12-15 03:04:09 +0300 |
commit | 9118c0cbd44262d0015568266f314e645ed6b9ce (patch) | |
tree | 8f457a1fca7e87522c3d8e0332ee61a49bb105df /fs/dax.c | |
parent | 3917048d4572b9cabf6f8f5ad395eb693717367c (diff) | |
download | linux-9118c0cbd44262d0015568266f314e645ed6b9ce.tar.xz |
mm: factor out functionality to finish page faults
Introduce finish_fault() as a helper function for finishing page faults.
It is rather thin wrapper around alloc_set_pte() but since we'd want to
call this from DAX code or filesystems, it is still useful to avoid some
boilerplate code.
Link: http://lkml.kernel.org/r/1479460644-25076-10-git-send-email-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/dax.c')
0 files changed, 0 insertions, 0 deletions