ext2, ext4, xfs: retrieve dax_device for iomap operations
authorDan Williams <dan.j.williams@intel.com>
Fri, 27 Jan 2017 20:04:59 +0000 (12:04 -0800)
committerDan Williams <dan.j.williams@intel.com>
Tue, 25 Apr 2017 20:20:46 +0000 (13:20 -0700)
commitfa5d932c323e8e0d9b24b3517997d15b36d1607d
treea340f98eaec27ee75f264871ba878007d9c6e329
parent817bf40265459578abc36c6bd53e27775b5c7ec4
ext2, ext4, xfs: retrieve dax_device for iomap operations

In preparation for converting fs/dax.c to use dax_direct_access()
instead of bdev_direct_access(), add the plumbing to retrieve the
dax_device associated with a given block_device.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
fs/ext2/inode.c
fs/ext4/inode.c
fs/xfs/xfs_iomap.c
include/linux/iomap.h