aboutsummaryrefslogtreecommitdiffstats
path: root/fs/autofs/inode.c
diff options
context:
space:
mode:
authorDennis Zhou <dennis@kernel.org>2019-02-22 14:53:48 -0500
committerDavid Sterba <dsterba@suse.com>2019-02-27 17:45:04 +0100
commitd3865159ac7823f645d313fdbac0b256ac01eeb9 (patch)
tree5d2b928fde2612ef2f0210a7decca42396892356 /fs/autofs/inode.c
parentbtrfs: move ulist allocation out of transaction in quota enable (diff)
downloadlinux-dev-d3865159ac7823f645d313fdbac0b256ac01eeb9.tar.xz
linux-dev-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 <dennis@kernel.org> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/autofs/inode.c')
0 files changed, 0 insertions, 0 deletions