diff options
| author | Lei Chen <[email protected]> | 2020-12-11 06:54:24 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2020-12-22 18:08:45 +0000 |
| commit | be993933d2e997fdb72b8b1418d2a84df79b8962 (patch) | |
| tree | ae5a826034f09a6323685cb6f7933931af1da172 /fs/ext4/fast_commit.c | |
| parent | ext4: avoid s_mb_prefetch to be zero in individual scenarios (diff) | |
| download | kernel-be993933d2e997fdb72b8b1418d2a84df79b8962.tar.gz kernel-be993933d2e997fdb72b8b1418d2a84df79b8962.zip | |
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: Lei Chen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
