Delete slow-work timers properly
authorJonathan Corbet <corbet@lwn.net>
Wed, 22 Apr 2009 11:01:49 +0000 (12:01 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 24 Apr 2009 14:47:59 +0000 (07:47 -0700)
commit418df63c2d94f238ac7e1d1d53be35dd6b7a7252
treed9ab346ae46a45a4bff12fe7dbc615b7469d17a5
parent3e241ff0c57cb610301009fe8c3b9da4c6877800
Delete slow-work timers properly

Slow-work appears to delete its timer as soon as the first user
unregisters, even though other users could be active.  At the same time, it
never seems to delete slow_work_oom_timer.  Arrange for both to happen in
the shutdown path.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/slow-work.c