ext4: remove unnecessary wbc parameter from ext4_bio_write_page
authorLei Chen <lennychen@tencent.com>
Fri, 11 Dec 2020 06:54:24 +0000 (14:54 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 22 Dec 2020 18:08:45 +0000 (13:08 -0500)
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@tencent.com>
Link: https://lore.kernel.org/r/1607669664-25656-1-git-send-email-lennychen@tencent.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>

No differences found