]> git.baikalelectronics.ru Git - kernel.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)
commit0b152e7aa5bd8bb0c60f70783ea4def077dcc429
tree18ca98c27b173abf9e661f9c1740f30027963df2
parent95c296bbee2f78ea980df83eb4a6e14fd1d74e28
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