diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-19 11:24:49 +1000 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-09-19 11:24:49 +1000 |
commit | befb503ca6e648cc5ed3e3a472d5b5887a60e0f2 (patch) | |
tree | e86742ee389168bb3a7e7e0b8a0fd0bb043f36f8 /fs/iomap.c | |
parent | ecd50729f772f0b982ddbb76c16ee4bc8f495e17 (diff) | |
download | lwn-befb503ca6e648cc5ed3e3a472d5b5887a60e0f2.tar.gz lwn-befb503ca6e648cc5ed3e3a472d5b5887a60e0f2.zip |
iomap: expose iomap_apply outside iomap.c
This allows the DAX code to use it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/iomap.c')
-rw-r--r-- | fs/iomap.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/fs/iomap.c b/fs/iomap.c index 706270f21b35..f4df9c612ab7 100644 --- a/fs/iomap.c +++ b/fs/iomap.c @@ -27,9 +27,6 @@ #include <linux/dax.h> #include "internal.h" -typedef loff_t (*iomap_actor_t)(struct inode *inode, loff_t pos, loff_t len, - void *data, struct iomap *iomap); - /* * Execute a iomap write on a segment of the mapping that spans a * contiguous range of pages that have identical block mapping state. @@ -41,7 +38,7 @@ typedef loff_t (*iomap_actor_t)(struct inode *inode, loff_t pos, loff_t len, * resources they require in the iomap_begin call, and release them in the * iomap_end call. */ -static loff_t +loff_t iomap_apply(struct inode *inode, loff_t pos, loff_t length, unsigned flags, struct iomap_ops *ops, void *data, iomap_actor_t actor) { |