summaryrefslogtreecommitdiff
path: root/drivers/scsi/hpsa.h
diff options
context:
space:
mode:
authorRobert Elliott <elliott@hp.com>2015-04-23 17:34:53 +0300
committerJames Bottomley <JBottomley@Odin.com>2015-05-31 21:41:39 +0300
commit2efa5929cb448266fcfc19d50cb6cd32c59524ef (patch)
treec8372373a01e32370a6298f4d28401ca3cdb0d70 /drivers/scsi/hpsa.h
parentb2ef480c4b6548e8287dd231256f7d5eccd0279d (diff)
downloadlinux-2efa5929cb448266fcfc19d50cb6cd32c59524ef.tar.xz
hpsa: create workqueue after the driver is ready for use
Don't create the resubmit workqueue in hpsa_init_one until everything else is ready to use, so everything can be freed in reverse order of when they were allocated without risking freeing things while workqueue items are still active. Destroy the workqueue in the right order in hpsa_undo_allocations_after_kdump_soft_reset too. Reviewed-by: Scott Teel <scott.teel@pmcs.com> Reviewed-by: Kevin Barnett <kevin.barnett@pmcs.com> Reviewed-by: Tomas Henzl <thenzl@redhat.com> Reviewed-by: Hannes Reinecke <hare@Suse.de> Signed-off-by: Robert Elliott <elliott@hp.com> Signed-off-by: Don Brace <don.brace@pmcs.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/hpsa.h')
0 files changed, 0 insertions, 0 deletions