]> git.baikalelectronics.ru Git - kernel.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)
commitf8326e2b1f5c90ee2df63ed714266c24958cccc3
tree89ad6b57ca4dd325e48d771a99e11448d70630de
parent9b10b400a6672f035f1b77d67c2c0c5825df2441
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