]> git.karo-electronics.de Git - linux-beck.git/commit
megaraid_sas: do not process IOCTLs and SCSI commands during driver removal
authorSumit.Saxena@avagotech.com <Sumit.Saxena@avagotech.com>
Mon, 17 Nov 2014 09:54:08 +0000 (15:24 +0530)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 13:39:01 +0000 (14:39 +0100)
commitaa00832b4ca6491c3540ef637ee89a7394711858
tree89ad6b57ca4dd325e48d771a99e11448d70630de
parent6e755ddc2935d970574263db3eca547eb70e67d7
megaraid_sas: do not process IOCTLs and SCSI commands during driver removal

Do not process any SCSI and IOCTL command further (return them with
appropriate return values to callers), while driver removal is in
progress or PCI shutdown is invoked.

Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: Kashyap Desai <kashyap.desai@avagotech.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/megaraid/megaraid_sas_base.c