Re: [PATCH] fs: ext4: remove unnecessary wbc parameter from ext4_bio_write_page

From: Theodore Y. Ts'o
Date: Thu Dec 17 2020 - 01:28:07 EST


On Fri, Dec 11, 2020 at 02:54:24PM +0800, chenlei0x@xxxxxxxxx wrote:
> From: Lei Chen <lennychen@xxxxxxxxxxx>
>
> ext4_bio_write_page does not need wbc parameter, since its parameter
> io contains the io_wbc field. The io::io_wbc is initialized by
> ext4_io_submit_init which is called in ext4_writepages and
> ext4_writepage functions prior to ext4_bio_write_page.
> Therefor, when ext4_bio_write_page is called, wbc info
> has already been included in io parameter.
>
> Signed-off-by: Lei Chen <lennychen@xxxxxxxxxxx>

Thanks, applied.

- Ted