diff options
author | Dan Williams <dan.j.williams@intel.com> | 2017-01-27 15:04:59 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-04-25 16:20:46 -0400 |
commit | fa5d932c323e8e0d9b24b3517997d15b36d1607d (patch) | |
tree | a340f98eaec27ee75f264871ba878007d9c6e329 /include/linux/iomap.h | |
parent | 817bf40265459578abc36c6bd53e27775b5c7ec4 (diff) |
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>
Diffstat (limited to 'include/linux/iomap.h')
-rw-r--r-- | include/linux/iomap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/iomap.h b/include/linux/iomap.h index 7291810067eb..f753e788da31 100644 --- a/include/linux/iomap.h +++ b/include/linux/iomap.h | |||
@@ -41,6 +41,7 @@ struct iomap { | |||
41 | u16 type; /* type of mapping */ | 41 | u16 type; /* type of mapping */ |
42 | u16 flags; /* flags for mapping */ | 42 | u16 flags; /* flags for mapping */ |
43 | struct block_device *bdev; /* block device for I/O */ | 43 | struct block_device *bdev; /* block device for I/O */ |
44 | struct dax_device *dax_dev; /* dax_dev for dax operations */ | ||
44 | }; | 45 | }; |
45 | 46 | ||
46 | /* | 47 | /* |