android_kernel_xiaomi_sm8350/drivers/scsi/sym53c8xx_2
Aaro Koskinen fa8584566c [SCSI] sym53c8xx_2: slave_alloc/destroy safety (2.6.27.5)
Make the sym53c8xx_2 driver slave_alloc/destroy less unsafe. References
to the destroyed LCB are cleared from the target structure (instead of
leaving a dangling pointer), and when the last LCB for the target is
destroyed the reference to the upper layer target data is cleared. The
host lock is used to prevent a race with the interrupt handler. Also
user commands are prevented for targets with all LCBs destroyed.

Signed-off-by: Aaro Koskinen <Aaro.Koskinen@nokia.com>
Tested-by: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2009-05-20 17:21:14 -05:00
..
Makefile
sym53c8xx.h
sym_defs.h
sym_fw1.h
sym_fw2.h
sym_fw.c
sym_fw.h
sym_glue.c [SCSI] sym53c8xx_2: slave_alloc/destroy safety (2.6.27.5) 2009-05-20 17:21:14 -05:00
sym_glue.h [SCSI] replace __inline with inline 2009-04-03 10:23:16 -05:00
sym_hipd.c [SCSI] sym53c8xx_2: slave_alloc/destroy safety (2.6.27.5) 2009-05-20 17:21:14 -05:00
sym_hipd.h [SCSI] sym53c8xx_2: slave_alloc/destroy safety (2.6.27.5) 2009-05-20 17:21:14 -05:00
sym_malloc.c [SCSI] replace __inline with inline 2009-04-03 10:23:16 -05:00
sym_misc.h [SCSI] replace __inline with inline 2009-04-03 10:23:16 -05:00
sym_nvram.c
sym_nvram.h