]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bnx2fc: Reorganize cleanup code between interface_cleanup and if_destory
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 5 Aug 2011 00:38:41 +0000 (17:38 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:35:33 +0000 (08:35 -0600)
commit57641fc8eee0a0981e77e96d8a98e289cbd52ecb
treea95ba5a7ce9e24186ee19a4decf6bc644e291741
parenteaadb7415303b4072f91b1a5d0d2cd2a67d4a852
[SCSI] bnx2fc: Reorganize cleanup code between interface_cleanup and if_destory

Move interface specific cleanup functionality to from bnx2fc_if_destroy to
bnx2fc_interface_cleanup. Do not access interface/hba in bnx2fc_if_destroy as
by the time this function is called interface may already be destroyed. This
patch is in preparation to handle NETDEV_UNREGISTER on a vlan device.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c