* [PATCH v1.2 18/16] arcmsr: replace calling flush_scheduled_work by flush_work
@ 2014-05-15 10:59 ching
0 siblings, 0 replies; only message in thread
From: ching @ 2014-05-15 10:59 UTC (permalink / raw)
To: jbottomley, dan.carpenter, thenzl, agordeev, linux-scsi, linux-kernel
From: Ching<ching2048@areca.com.tw>
This is a new patch v1.2 18/16 after patch v1.2 17/16.
To prevent flushing entire workqueue, replace flush_scheduled_work by flush_work.
Signed-off-by: Ching<ching2048@areca.com.tw>
---
diff -uprN a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c
--- a/drivers/scsi/arcmsr/arcmsr_hba.c 2014-05-14 18:29:30.000000000 +0800
+++ b/drivers/scsi/arcmsr/arcmsr_hba.c 2014-05-15 17:53:12.000000000 +0800
@@ -845,7 +845,7 @@ static int arcmsr_suspend(struct pci_dev
intmask_org = arcmsr_disable_outbound_ints(acb);
arcmsr_free_irq(pdev, acb);
del_timer_sync(&acb->eternal_timer);
- flush_scheduled_work();
+ flush_work(&acb->arcmsr_do_message_isr_bh);
arcmsr_stop_adapter_bgrb(acb);
arcmsr_flush_adapter_cache(acb);
arcmsr_enable_outbound_ints(acb, intmask_org);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-15 10:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-15 10:59 [PATCH v1.2 18/16] arcmsr: replace calling flush_scheduled_work by flush_work ching
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).