commit | 0cbf32e1681d870632a1772601cbaadd996dc978 | [log] [tgz] |
---|---|---|
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | Tue Aug 30 15:54:51 2011 -0700 |
committer | James Bottomley <JBottomley@Parallels.com> | Sat Sep 17 18:04:25 2011 +0400 |
tree | 80c3b6cc94c1b990e4f27620e006739b21475936 | |
parent | 26b2982f78c1fc6f486a67271b1d0a0d305dd54b [diff] |
[SCSI] bnx2fc: Avoid calling bnx2fc_if_destroy with unnecessary locks It is not required to hold rtnl_lock and bnx2fc_dev_lock when calling bnx2fc_if_destroy, as the locking is only required to serialize creation and deletion of fcoe instances. More importantly, this unnecessary locking causes deadlock as bnx2fc_if_destroy calls fc_remove_host holding rtnl_lock. Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>