diff options
| author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2011-08-30 15:54:51 -0700 |
|---|---|---|
| committer | James Bottomley <JBottomley@Parallels.com> | 2011-09-17 18:04:25 +0400 |
| commit | 0cbf32e1681d870632a1772601cbaadd996dc978 (patch) | |
| tree | 80c3b6cc94c1b990e4f27620e006739b21475936 /include/linux | |
| 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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
