diff options
| author | Dennis Zhou <[email protected]> | 2019-02-22 19:53:48 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2019-02-27 16:45:04 +0000 |
| commit | d3865159ac7823f645d313fdbac0b256ac01eeb9 (patch) | |
| tree | 5d2b928fde2612ef2f0210a7decca42396892356 /drivers/fpga/altera-fpga2sdram.c | |
| parent | btrfs: move ulist allocation out of transaction in quota enable (diff) | |
| download | kernel-d3865159ac7823f645d313fdbac0b256ac01eeb9.tar.gz kernel-d3865159ac7823f645d313fdbac0b256ac01eeb9.zip | |
btrfs: zstd: ensure reclaim timer is properly cleaned up
The timer function, zstd_reclaim_timer_fn(), reschedules itself under
certain conditions. When cleaning up, take the lock and remove all
workspaces. This prevents the timer from rearming itself. Lastly, switch
to del_timer_sync() to ensure that the timer function can't trigger as
we're unloading.
Signed-off-by: Dennis Zhou <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
