commit | ac7b19a34f332fdf8b13aac8708b14188fd1fbd2 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Fri May 22 17:13:57 2015 -0400 |
committer | Jens Axboe <axboe@fb.com> | Tue Jun 02 08:33:36 2015 -0600 |
tree | 11b2b88cc20bbde17025524a11078f44e0690429 | |
parent | 001fe6f617b1a352ad29cc3643384b3d8141dc07 [diff] |
writeback: add wb_writeback_work->auto_free Currently, a wb_writeback_work is freed automatically on completion if it doesn't have ->done set. Add wb_writeback_work->auto_free to make the switch explicit. This will help cgroup writeback support where waiting for completion and whether to free automatically don't necessarily move together. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Jan Kara <jack@suse.cz> Signed-off-by: Jens Axboe <axboe@fb.com>