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)
commit45a66c1c3ff88e8050dd25e81bafdf79a12a8042
tree05b8ae20d034ffe16e0f13b51f43aa9f93eddf2f
parent4c75f7416f51b0c6855952467a5db04f9c598f09
libata-core: convert to use cancel_rearming_delayed_work()

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