diff options
author | Christoph Hellwig <hch@lst.de> | 2022-07-22 19:59:17 +0200 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-07-22 19:59:17 +0200 |
commit | 478af190cb6c501efaa8de2b9c9418ece2e4d0bd (patch) | |
tree | 488b6b6dccfb0f187c51a86f520e814a4618acb4 /fs/iomap | |
parent | zonefs: remove ->writepage (diff) | |
download | linux-478af190cb6c501efaa8de2b9c9418ece2e4d0bd.tar.xz linux-478af190cb6c501efaa8de2b9c9418ece2e4d0bd.zip |
iomap: remove iomap_writepage
Unused now.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/iomap')
-rw-r--r-- | fs/iomap/buffered-io.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/fs/iomap/buffered-io.c b/fs/iomap/buffered-io.c index afd260632836..7c4a56b3ac01 100644 --- a/fs/iomap/buffered-io.c +++ b/fs/iomap/buffered-io.c @@ -1520,21 +1520,6 @@ unlock: } int -iomap_writepage(struct page *page, struct writeback_control *wbc, - struct iomap_writepage_ctx *wpc, - const struct iomap_writeback_ops *ops) -{ - int ret; - - wpc->ops = ops; - ret = iomap_do_writepage(page, wbc, wpc); - if (!wpc->ioend) - return ret; - return iomap_submit_ioend(wpc, wpc->ioend, ret); -} -EXPORT_SYMBOL_GPL(iomap_writepage); - -int iomap_writepages(struct address_space *mapping, struct writeback_control *wbc, struct iomap_writepage_ctx *wpc, const struct iomap_writeback_ops *ops) |