Skip to content
  • Tejun Heo's avatar
    writeback: add wb_writeback_work->auto_free · ac7b19a3
    Tejun Heo authored
    
    
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Jan Kara <jack@suse.cz>
    Signed-off-by: default avatarJens Axboe <axboe@fb.com>
    ac7b19a3