diff options
author | 2011-12-01 07:43:50 +0530 | |
---|---|---|
committer | 2011-12-15 10:57:32 +0400 | |
commit | 23edb6e71696a5da9c5f3987d22221e12370dbce (patch) | |
tree | 3197b8876e9d747307dd0ef60a468eca70d7a41d /drivers/scsi/mpt2sas/mpi/mpi2_raid.h | |
parent | [SCSI] mpt2sas: MPI next revision header update (diff) | |
download | linux-dev-23edb6e71696a5da9c5f3987d22221e12370dbce.tar.xz linux-dev-23edb6e71696a5da9c5f3987d22221e12370dbce.zip |
[SCSI] mpt2sas: Do not set sas_device->starget to NULL from the slave_destroy callback when all the LUNS have been deleted
If the sas_device->starget to NULL from slave_destroy callback for LUN=1
even though LUN=0 exist, results in entire target getting deleted.
To resolve the issue, the driver should only set sas_device->starget to
NULL when all the LUNS have been deleted from the slave_destroy.
Signed-off-by: Nagalakshmi Nandigama <nagalakshmi.nandigama@lsi.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions