summaryrefslogtreecommitdiff
path: root/lib/logic_pio.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2022-07-28 15:18:49 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2022-08-01 19:45:14 -0400
commit16728aaba62e8b3b170735fdc3d8aa972835c136 (patch)
tree126c11cb5076d3a1b8d6cb2aeda76799be6940d5 /lib/logic_pio.c
parentfe442604199ed3e60d5411137159f9623534e956 (diff)
scsi: core: Make sure that hosts outlive targets
Fix the race conditions between SCSI LLD kernel module unloading and SCSI device and target removal by making sure that SCSI hosts are destroyed after all associated target and device objects have been freed. Link: https://lore.kernel.org/r/20220728221851.1822295-3-bvanassche@acm.org Cc: Christoph Hellwig <hch@lst.de> Cc: Ming Lei <ming.lei@redhat.com> Cc: Mike Christie <michael.christie@oracle.com> Cc: Hannes Reinecke <hare@suse.de> Cc: John Garry <john.garry@huawei.com> Reviewed-by: Mike Christie <michael.christie@oracle.com> Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Bart Van Assche <bvanassche@acm.org> [ bvanassche: Reworked Ming's patch and split it ] Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/logic_pio.c')
0 files changed, 0 insertions, 0 deletions