akpm@xxxxxxxxxxxxxxxxxxxx wrote:
From: Oleg Nesterov <oleg@xxxxxxxxxx>
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@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---
drivers/ata/libata-core.c | 44 +++---------------------------------
include/linux/libata.h | 1
2 files changed, 4 insertions(+), 41 deletions(-)
Agreed with Tejun, this can be cleaned up further. OK with general approach
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html