]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
iomap: remove the unused iomap argument to __iomap_write_end
authorChristoph Hellwig <hch@lst.de>
Fri, 18 Oct 2019 23:40:57 +0000 (16:40 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Oct 2019 15:51:59 +0000 (08:51 -0700)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/iomap/buffered-io.c

index 55d7efa4fb8cb0f1df7c01422d11644f3159c58d..99c8683ae7487ac00b1c0614f54477c26a010778 100644 (file)
@@ -693,7 +693,7 @@ EXPORT_SYMBOL_GPL(iomap_set_page_dirty);
 
 static int
 __iomap_write_end(struct inode *inode, loff_t pos, unsigned len,
-               unsigned copied, struct page *page, struct iomap *iomap)
+               unsigned copied, struct page *page)
 {
        flush_dcache_page(page);
 
@@ -746,7 +746,7 @@ iomap_write_end(struct inode *inode, loff_t pos, unsigned len,
                ret = block_write_end(NULL, inode->i_mapping, pos, len, copied,
                                page, NULL);
        } else {
-               ret = __iomap_write_end(inode, pos, len, copied, page, iomap);
+               ret = __iomap_write_end(inode, pos, len, copied, page);
        }
 
        /*