Oleg Nesterov 28e53bddf8 unify flush_work/flush_work_keventd and rename it to cancel_work_sync
flush_work(wq, work) doesn't need the first parameter, we can use cwq->wq
(this was possible from the very beginnig, I missed this).  So we can unify
flush_work_keventd and flush_work.

Also, rename flush_work() to cancel_work_sync() and fix all callers.
Perhaps this is not the best name, but "flush_work" is really bad.

(akpm: this is why the earlier patches bypassed maintainers)

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Tejun Heo <htejun@gmail.com>
Cc: Auke Kok <auke-jan.h.kok@intel.com>,
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:53 -07:00
..
2007-05-08 02:32:17 -04:00
2007-05-08 11:15:23 -07:00
2007-04-28 11:01:06 -04:00
2007-02-09 09:14:07 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2007-02-06 19:03:56 -05:00
2006-09-13 13:24:59 -04:00
2007-05-03 13:21:48 -07:00
2007-05-03 13:21:13 -07:00
2007-05-03 17:23:35 -07:00
2007-05-03 13:25:32 -07:00
2006-09-13 13:24:59 -04:00
2007-02-09 16:23:17 +00:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2006-09-13 13:24:59 -04:00
2007-02-09 09:14:07 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2006-12-09 09:41:18 -08:00
2006-12-02 00:11:56 -05:00
2007-03-29 11:46:52 -07:00
2007-05-04 17:59:08 -07:00
2007-05-08 01:48:19 -04:00
2007-05-04 17:59:06 -07:00
2007-05-04 17:59:07 -07:00
2007-02-07 18:50:53 -05:00
2007-05-04 17:59:07 -07:00
2007-05-04 17:59:08 -07:00
2007-04-28 11:01:04 -04:00
2007-04-28 11:01:05 -04:00
2006-12-04 02:00:34 -05:00
2006-12-02 21:22:37 -08:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-05-08 01:48:19 -04:00
2007-04-28 11:00:58 -04:00
2007-04-25 22:24:41 -07:00
2007-04-28 11:01:01 -04:00
2007-04-28 11:01:03 -04:00
2007-04-28 11:01:01 -04:00
2007-04-28 11:01:07 -04:00
2006-09-13 13:24:59 -04:00
2006-09-13 13:24:59 -04:00
2007-04-28 11:01:00 -04:00
2006-09-13 13:24:59 -04:00
2007-04-25 22:24:41 -07:00
2006-09-13 13:24:59 -04:00
2007-05-08 01:15:35 -04:00
2007-02-09 09:14:07 -08:00
2007-02-09 09:14:07 -08:00
2007-05-04 17:59:08 -07:00
2007-05-04 17:59:07 -07:00
2007-02-05 16:58:43 -05:00
2007-02-27 04:16:03 -05:00
2007-05-09 12:30:51 -07:00
2006-11-22 14:57:56 +00:00
2007-04-26 01:00:55 -07:00
2007-02-09 09:14:07 -08:00
2006-12-02 00:11:56 -05:00