diff options
author | Ross Zwisler <ross.zwisler@linux.intel.com> | 2016-11-08 03:35:02 +0300 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-11-08 03:35:02 +0300 |
commit | 862f1b9d67187cf441e713cc77efae682d8ebc45 (patch) | |
tree | a764bbf05bb253f61ea336690d9a6f110953d060 /fs/xfs/xfs_file.c | |
parent | 642261ac995e01d7837db1f4b90181496f7e6835 (diff) | |
download | linux-862f1b9d67187cf441e713cc77efae682d8ebc45.tar.xz |
xfs: use struct iomap based DAX PMD fault path
Switch xfs_filemap_pmd_fault() from using dax_pmd_fault() to the new and
improved dax_iomap_pmd_fault(). Also, now that it has no more users,
remove xfs_get_blocks_dax_fault().
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_file.c')
-rw-r--r-- | fs/xfs/xfs_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c index e7f35d548cfc..ca2ab738fae2 100644 --- a/fs/xfs/xfs_file.c +++ b/fs/xfs/xfs_file.c @@ -1711,7 +1711,7 @@ xfs_filemap_pmd_fault( } xfs_ilock(XFS_I(inode), XFS_MMAPLOCK_SHARED); - ret = dax_pmd_fault(vma, addr, pmd, flags, xfs_get_blocks_dax_fault); + ret = dax_iomap_pmd_fault(vma, addr, pmd, flags, &xfs_iomap_ops); xfs_iunlock(XFS_I(inode), XFS_MMAPLOCK_SHARED); if (flags & FAULT_FLAG_WRITE) |