scsi: qla2xxx: Fix driver unload when FC-NVMe LUNs are connected
authorGiridhar Malavali <gmalavali@marvell.com>
Tue, 2 Apr 2019 21:24:32 +0000 (14:24 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Apr 2019 03:45:58 +0000 (23:45 -0400)
commitb2d1453a45aa8477b1d33ee94a7694146bb8b340
tree2acf196e28b2601b333ebeb4aef903482469b1cc
parente39a6645d9ec3a9be6470adae1df0f924d1f0737
scsi: qla2xxx: Fix driver unload when FC-NVMe LUNs are connected

This patch allows driver to unload using "modprobe -r" when FC-NVMe LUNs
are connected.

Signed-off-by: Giridhar Malavali <gmalavali@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_nvme.c
drivers/scsi/qla2xxx/qla_os.c