Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292907
b: refs/heads/master
c: 2a7b29c
h: refs/heads/master
i:
  292905: 4dfca6b
  292903: ee87ac8
v: v3
  • Loading branch information
Bhanu Prakash Gollapudi authored and James Bottomley committed Feb 19, 2012
1 parent 80d3978 commit 1aae709
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9f71af2febd53620a379d71527f98bbc2ba67e61
refs/heads/master: 2a7b29c5f267c143e280c1a5174a0d930bd6c1e3
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/bnx2fc/bnx2fc_fcoe.c
Original file line number Diff line number Diff line change
Expand Up @@ -1537,6 +1537,7 @@ static void __bnx2fc_destroy(struct bnx2fc_interface *interface)
static int bnx2fc_destroy(struct net_device *netdev)
{
struct bnx2fc_interface *interface = NULL;
struct workqueue_struct *timer_work_queue;
int rc = 0;

rtnl_lock();
Expand All @@ -1549,9 +1550,9 @@ static int bnx2fc_destroy(struct net_device *netdev)
goto netdev_err;
}


destroy_workqueue(interface->timer_work_queue);
timer_work_queue = interface->timer_work_queue;
__bnx2fc_destroy(interface);
destroy_workqueue(timer_work_queue);

netdev_err:
mutex_unlock(&bnx2fc_dev_lock);
Expand Down

0 comments on commit 1aae709

Please sign in to comment.