From: Bhanu Prakash Gollapudi Date: Tue, 30 Aug 2011 22:54:51 +0000 (-0700) Subject: [SCSI] bnx2fc: Avoid calling bnx2fc_if_destroy with unnecessary locks X-Git-Tag: v3.2-rc1~125^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0cbf32e1681d870632a1772601cbaadd996dc978;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed