Skip to content
Commit be993933 authored by Lei Chen's avatar Lei Chen Committed by Theodore Ts'o
Browse files

ext4: remove unnecessary wbc parameter from ext4_bio_write_page



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: default avatarLei Chen <lennychen@tencent.com>
Link: https://lore.kernel.org/r/1607669664-25656-1-git-send-email-lennychen@tencent.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent 82ef1370
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment