[SCSI] bfa: protect idr using bfad_mutex
idr is a global resource, protect it with global bfad_mutex. Signed-off-by: Jing Huang <huangj@brocade.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
此提交包含在:
@@ -33,7 +33,7 @@
|
||||
#include <fcb/bfa_fcb.h>
|
||||
|
||||
BFA_TRC_FILE(LDRV, BFAD);
|
||||
static DEFINE_MUTEX(bfad_mutex);
|
||||
DEFINE_MUTEX(bfad_mutex);
|
||||
LIST_HEAD(bfad_list);
|
||||
static int bfad_inst;
|
||||
int bfad_supported_fc4s;
|
||||
|
新增問題並參考
封鎖使用者