提交 9e6371d3 编写于 作者: V Varun Prakash 提交者: Martin K. Petersen

scsi: target: iscsi: cxgbit: add missing spin_lock_init()

Add missing spin_lock_init() for cdev->np_lock.
Signed-off-by: NVarun Prakash <varun@chelsio.com>
Signed-off-by: NMartin K. Petersen <martin.petersen@oracle.com>
上级 ed076c55
......@@ -58,6 +58,7 @@ static void *cxgbit_uld_add(const struct cxgb4_lld_info *lldi)
return ERR_PTR(-ENOMEM);
kref_init(&cdev->kref);
spin_lock_init(&cdev->np_lock);
cdev->lldi = *lldi;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册