Re: [PATCH 05/17] writeback: remove a duplicate prototype for tag_pages_for_writeback

From: Jan Kara
Date: Thu Dec 21 2023 - 06:00:12 EST


On Mon 18-12-23 16:35:41, Christoph Hellwig wrote:
> From: "Matthew Wilcox (Oracle)" <willy@xxxxxxxxxxxxx>
>
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> [hch: split from a larger patch]
> Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>

Sure. Feel free to add:

Reviewed-by: Jan Kara <jack@xxxxxxx>

Honza

> ---
> include/linux/writeback.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/writeback.h b/include/linux/writeback.h
> index 083387c00f0c8b..833ec38fc3e0c9 100644
> --- a/include/linux/writeback.h
> +++ b/include/linux/writeback.h
> @@ -364,8 +364,6 @@ bool wb_over_bg_thresh(struct bdi_writeback *wb);
> typedef int (*writepage_t)(struct folio *folio, struct writeback_control *wbc,
> void *data);
>
> -void tag_pages_for_writeback(struct address_space *mapping,
> - pgoff_t start, pgoff_t end);
> int write_cache_pages(struct address_space *mapping,
> struct writeback_control *wbc, writepage_t writepage,
> void *data);
> --
> 2.39.2
>
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR