SLOW_WORK: Wait for outstanding work items belonging to a module to clear
authorDavid Howells <dhowells@redhat.com>
Thu, 19 Nov 2009 18:10:23 +0000 (18:10 +0000)
committerDavid Howells <dhowells@redhat.com>
Thu, 19 Nov 2009 18:10:23 +0000 (18:10 +0000)
commit3d7a641e544e428191667e8b1f83f96fa46dbd65
tree172aa672eca96b94f5531885b82abb82b43c7d8a
parent66b00a7c93ec782d118d2c03bd599cfd041e80a1
SLOW_WORK: Wait for outstanding work items belonging to a module to clear

Wait for outstanding slow work items belonging to a module to clear when
unregistering that module as a user of the facility.  This prevents the put_ref
code of a work item from being taken away before it returns.

Signed-off-by: David Howells <dhowells@redhat.com>
Documentation/slow-work.txt
fs/fscache/main.c
fs/fscache/object.c
fs/fscache/operation.c
fs/gfs2/main.c
fs/gfs2/recovery.c
include/linux/slow-work.h
kernel/slow-work.c