diff options
author | Tejun Heo <tj@kernel.org> | 2015-08-18 14:54:53 -0700 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-08-18 15:49:15 -0700 |
commit | 8a1270cda7b473c8ea71a7a44613465fe0708488 (patch) | |
tree | b5fa8e5713271a8b16b712e14643e5213cb98883 /fs/hfs | |
parent | 1ed8d48c57bf7400eac7b8dc622ab0413715cafb (diff) | |
download | op-kernel-dev-8a1270cda7b473c8ea71a7a44613465fe0708488.zip op-kernel-dev-8a1270cda7b473c8ea71a7a44613465fe0708488.tar.gz |
writeback: remove wb_writeback_work->single_wait/done
wb_writeback_work->single_wait/done are used for the wait mechanism
for synchronous wb_work (wb_writeback_work) items which are issued
when bdi_split_work_to_wbs() fails to allocate memory for asynchronous
wb_work items; however, there's no reason to use a separate wait
mechanism for this. bdi_split_work_to_wbs() can simply use on-stack
fallback wb_work item and separate wb_completion to wait for it.
This patch removes wb_work->single_wait/done and the related code and
make bdi_split_work_to_wbs() use on-stack fallback wb_work and
wb_completion instead.
Signed-off-by: Tejun Heo <tj@kernel.org>
Suggested-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'fs/hfs')
0 files changed, 0 insertions, 0 deletions