• T
    writeback: add wb_writeback_work->auto_free · ac7b19a3
    Tejun Heo 提交于
    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: NTejun Heo <tj@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Jan Kara <jack@suse.cz>
    Signed-off-by: NJens Axboe <axboe@fb.com>
    ac7b19a3
fs-writeback.c 46.8 KB