[SCSI] bfa: fix missing unlock on error in bfad_iocmd_cfg_trunk()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Fri, 20 Dec 2013 02:51:23 +0000 (10:51 +0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:00 +0000 (10:19 -0700)
commite39a8b4f9ec67e4152032ff31eeccf4d7251833f
tree215bac561fd709448a8e3a22f07da01cb301f730
parentad469a57643b322dc7a3bfc482e265e1e88f735a
[SCSI] bfa: fix missing unlock on error in bfad_iocmd_cfg_trunk()

Add the missing unlock before return from function bfad_iocmd_cfg_trunk()
in the error handling case.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfad_bsg.c