diff options
| author | Shivasharan S <shivasharan.srikanteshwara@broadcom.com> | 2017-08-23 14:47:04 +0300 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-08-25 05:29:14 +0300 |
| commit | eb3fe263a48b0d27b229c213929c4cb3b1b39a0f (patch) | |
| tree | 4aacf028a70655c7fa71c0c9fe8834b259be2c39 /include/linux/timerqueue.h | |
| parent | def3e8dfe935f293da47c2684bc9fd2a927b7cc5 (diff) | |
| download | linux-eb3fe263a48b0d27b229c213929c4cb3b1b39a0f.tar.xz | |
scsi: megaraid_sas: Return pended IOCTLs with cmd_status MFI_STAT_WRONG_STATE in case adapter is dead
After a kill adapter, since the cmd_status is not set, the IOCTLs will
be hung in driver resulting in application hang. Set cmd_status
MFI_STAT_WRONG_STATE when completing pended IOCTLs.
Signed-off-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: Shivasharan S <shivasharan.srikanteshwara@broadcom.com>
Cc: stable@vger.kernel.org
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
