libata-core: convert to use cancel_rearming_delayed_work()
authorOleg Nesterov <oleg@tv-sign.ru>
Mon, 9 Jul 2007 18:46:13 +0000 (11:46 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 11 Jul 2007 00:55:04 +0000 (20:55 -0400)
We should not use cancel_work_sync(delayed_work->work). This works, but not
good. We can use cancel_rearming_delayed_work(), this also simplifies the
code.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c
include/linux/libata.h

Simple merge
Simple merge