diff options
author | Don Brace <don.brace@microsemi.com> | 2016-02-23 15:16:34 -0600 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-02-23 21:27:02 -0500 |
commit | c3390df4751177191b1691df2eba5e71af382d0b (patch) | |
tree | bc2fc665fe4f5d6c000fb4678a9b5d649c67251a /lib/bust_spinlocks.c | |
parent | 39f3deb2bead8a3005130f641af11a78f14cdd28 (diff) | |
download | linux-c3390df4751177191b1691df2eba5e71af382d0b.tar.gz linux-c3390df4751177191b1691df2eba5e71af382d0b.tar.bz2 linux-c3390df4751177191b1691df2eba5e71af382d0b.zip |
hpsa: check for a null phys_disk pointer in ioaccel2 path
An oops can occur when submitting ioaccel2 commands when the phys_disk
pointer is NULL in hpsa_scsi_ioaccel_raid_map. Happens when there are
configuration changes during I/O operations.
If the phys_disk pointer is NULL, send the command down the RAID path.
Reviewed-by: Mahesh Rajashekhara <mahesh.rajashekhara@microsemi.com>
Reviewed-by: Justin Lindley <justin.lindley@microsemi.com>
Reviewed-by: Scott Teel <scott.teel@microsemi.com>
Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com>
Reviewed-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Don Brace <don.brace@microsemi.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/bust_spinlocks.c')
0 files changed, 0 insertions, 0 deletions