mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 04:02:20 +00:00
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>
This commit is contained in:
parent
7b86e8a5ba
commit
478af190cb
@ -1519,21 +1519,6 @@ unlock:
|
||||
return 0;
|
||||
}
|
||||
|
||||
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,
|
||||
|
@ -303,9 +303,6 @@ void iomap_finish_ioends(struct iomap_ioend *ioend, int error);
|
||||
void iomap_ioend_try_merge(struct iomap_ioend *ioend,
|
||||
struct list_head *more_ioends);
|
||||
void iomap_sort_ioends(struct list_head *ioend_list);
|
||||
int iomap_writepage(struct page *page, struct writeback_control *wbc,
|
||||
struct iomap_writepage_ctx *wpc,
|
||||
const struct iomap_writeback_ops *ops);
|
||||
int iomap_writepages(struct address_space *mapping,
|
||||
struct writeback_control *wbc, struct iomap_writepage_ctx *wpc,
|
||||
const struct iomap_writeback_ops *ops);
|
||||
|
Loading…
Reference in New Issue
Block a user