]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] qla4xxx: Fix the IDC locking mechanism
authorNilesh Javali <nilesh.javali@qlogic.com>
Fri, 2 Dec 2011 06:42:11 +0000 (22:42 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Thu, 15 Dec 2011 06:57:42 +0000 (10:57 +0400)
commite3f37d1636b7142527704ff62bf6f695a2887501
tree7d4b91ff1c2a89cdf8e924d97e7fc879d0fa1231
parentce505f9d1d9701f02b124ba1ee6caec21c2100e2
[SCSI] qla4xxx: Fix the IDC locking mechanism

This ensures the transition of dev_state from COLD to
INITIALIZING is within lock and atomic.

Signed-off-by: Nilesh Javali <nilesh.javali@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla4xxx/ql4_nx.c