[EMAIL PROTECTED] wrote:
From: Oleg Nesterov <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---
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 [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html