Revision 223a10a98135da38d3668973d72cdffb1ced4b7d authored by Oleg Nesterov on 18 May 2007, 07:36:42 UTC, committed by Linus Torvalds on 18 May 2007, 15:17:17 UTC
As pointed out by Jarek Poplawski, the patch

	[WORKQUEUE]: cancel_delayed_work: use del_timer() instead of del_timer_sync()
	commit: 071b638689464c6b39407025eedd810d5b5e6f5d

was wrong, it was merged by mistake after that.

From the changelog:

	after this patch:
		...
		delayed_work_timer_fn->__queue_work() in progress.

		The latter doesn't differ from the caller's POV,

it does make a difference if the caller calls flush_workqueue() after
cancel_delayed_work(), in that case flush_workqueue() can miss this
work_struct.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Jarek Poplawski <jarkao2@o2.pl>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent b465223
History
File Mode Size
Kconfig -rw-r--r-- 442 bytes
Makefile -rw-r--r-- 297 bytes
netlabel_cipso_v4.c -rw-r--r-- 20.7 KB
netlabel_cipso_v4.h -rw-r--r-- 4.7 KB
netlabel_domainhash.c -rw-r--r-- 11.7 KB
netlabel_domainhash.h -rw-r--r-- 2.1 KB
netlabel_kapi.c -rw-r--r-- 11.6 KB
netlabel_mgmt.c -rw-r--r-- 15.9 KB
netlabel_mgmt.h -rw-r--r-- 4.8 KB
netlabel_unlabeled.c -rw-r--r-- 7.2 KB
netlabel_unlabeled.h -rw-r--r-- 2.6 KB
netlabel_user.c -rw-r--r-- 3.2 KB
netlabel_user.h -rw-r--r-- 1.9 KB

back to top