iomap: use a srcmap for a read-modify-write I/O
[linux-2.6-microblaze.git] / fs / iomap / fiemap.c
index f26fdd3..690ef2d 100644 (file)
@@ -44,7 +44,7 @@ static int iomap_to_fiemap(struct fiemap_extent_info *fi,
 
 static loff_t
 iomap_fiemap_actor(struct inode *inode, loff_t pos, loff_t length, void *data,
-               struct iomap *iomap)
+               struct iomap *iomap, struct iomap *srcmap)
 {
        struct fiemap_ctx *ctx = data;
        loff_t ret = length;
@@ -111,7 +111,7 @@ EXPORT_SYMBOL_GPL(iomap_fiemap);
 
 static loff_t
 iomap_bmap_actor(struct inode *inode, loff_t pos, loff_t length,
-               void *data, struct iomap *iomap)
+               void *data, struct iomap *iomap, struct iomap *srcmap)
 {
        sector_t *bno = data, addr;