Skip to content

Commit c12d6fa

Browse files
Christoph Hellwigdjwong
authored andcommitted
iomap: remove the unused iomap argument to __iomap_write_end
Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Allison Collins <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]> Signed-off-by: Darrick J. Wong <[email protected]>
1 parent 65a60e8 commit c12d6fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fs/iomap/buffered-io.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ EXPORT_SYMBOL_GPL(iomap_set_page_dirty);
693693

694694
static int
695695
__iomap_write_end(struct inode *inode, loff_t pos, unsigned len,
696-
unsigned copied, struct page *page, struct iomap *iomap)
696+
unsigned copied, struct page *page)
697697
{
698698
flush_dcache_page(page);
699699

@@ -746,7 +746,7 @@ iomap_write_end(struct inode *inode, loff_t pos, unsigned len,
746746
ret = block_write_end(NULL, inode->i_mapping, pos, len, copied,
747747
page, NULL);
748748
} else {
749-
ret = __iomap_write_end(inode, pos, len, copied, page, iomap);
749+
ret = __iomap_write_end(inode, pos, len, copied, page);
750750
}
751751

752752
/*

0 commit comments

Comments
 (0)