diff options
| author | Tejun Heo <[email protected]> | 2015-07-22 03:50:24 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2015-07-22 03:50:24 +0000 |
| commit | 5a33911fa5ecd7395115df2e27fbd22b73357ac5 (patch) | |
| tree | f7e5c85cc50f5e3dee0f670bb2008560c86741fe /fs/jbd2/commit.c | |
| parent | ext4 crypto: check for too-short encrypted file names (diff) | |
| download | kernel-5a33911fa5ecd7395115df2e27fbd22b73357ac5.tar.gz kernel-5a33911fa5ecd7395115df2e27fbd22b73357ac5.zip | |
ext4: replace ext4_io_submit->io_op with ->io_wbc
ext4_io_submit_init() takes the pointer to writeback_control to test
its sync_mode and determine between WRITE and WRITE_SYNC and records
the result in ->io_op. This patch makes it record the pointer
directly and moves the test to ext4_io_submit().
This doesn't cause any noticeable differences now but having
writeback_control available throughout IO submission path will be
depended upon by the planned cgroup writeback support.
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
