]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 24 Aug 2011 03:29:55 +0000 (20:29 -0700)
commit61f375e95fe36cdb7cbbb55cc0a1cf9f22fd41f5
tree84e49b8789561dbc9600ee1193d742a437b26386
parentfd4f7708d3d345eafdf2455ee1280f2506d363e5
[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