]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
xfs: Implement xfs_filemap_pfn_mkwrite() using __xfs_filemap_fault()
authorJan Kara <jack@suse.cz>
Wed, 1 Nov 2017 15:36:46 +0000 (16:36 +0100)
committerDan Williams <dan.j.williams@intel.com>
Fri, 3 Nov 2017 13:26:26 +0000 (06:26 -0700)
commit7b565c9f965bac269cc6a1f25c819f77044abf9d
tree18ca98c27b173abf9e661f9c1740f30027963df2
parentb8a6176c214cf9aa2679131ed7e4515cddaadc33
xfs: Implement xfs_filemap_pfn_mkwrite() using __xfs_filemap_fault()

xfs_filemap_pfn_mkwrite() duplicates a lot of __xfs_filemap_fault().
It will also need to handle flushing for synchronous page faults. So
just make that function use __xfs_filemap_fault().

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/xfs/xfs_file.c
fs/xfs/xfs_trace.h