scsi: qla2xxx: Prevent SysFS access when chip is down
authorQuinn Tran <qtran@marvell.com>
Fri, 15 Feb 2019 22:37:18 +0000 (14:37 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 19 Feb 2019 23:58:36 +0000 (18:58 -0500)
commitb726d99d72fd4b36ae82efb35d0073b0c9441205
treea9e8b8cc7698e224a2070ccbccb5a1732488743b
parent4910b524ac9e61b70e35280877361b790a657d48
scsi: qla2xxx: Prevent SysFS access when chip is down

Prevent user from sending commands through sysfs while FW is not running or
reset is in progress.

Signed-off-by: Quinn Tran <qtran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_attr.c