Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88505
b: refs/heads/master
c: 157de22
h: refs/heads/master
i:
  88503: a050881
v: v3
  • Loading branch information
Robert P. J. Day authored and Roland Dreier committed Apr 17, 2008
1 parent f3c95ed commit 1e82a63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 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: 10f32065a25d22bf7894fa39ff2ce8492922086a
refs/heads/master: 157de229468b2a63bbc8f9a7d37c70a2c9731ac8
3 changes: 1 addition & 2 deletions trunk/drivers/infiniband/core/fmr_pool.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,7 @@ static void ib_fmr_batch_release(struct ib_fmr_pool *pool)
#endif
}

list_splice(&pool->dirty_list, &unmap_list);
INIT_LIST_HEAD(&pool->dirty_list);
list_splice_init(&pool->dirty_list, &unmap_list);
pool->dirty_len = 0;

spin_unlock_irq(&pool->pool_lock);
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/infiniband/ulp/ipoib/ipoib_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,8 +359,7 @@ void ipoib_flush_paths(struct net_device *dev)
spin_lock_irq(&priv->tx_lock);
spin_lock(&priv->lock);

list_splice(&priv->path_list, &remove_list);
INIT_LIST_HEAD(&priv->path_list);
list_splice_init(&priv->path_list, &remove_list);

list_for_each_entry(path, &remove_list, list)
rb_erase(&path->rb_node, &priv->path_tree);
Expand Down

0 comments on commit 1e82a63

Please sign in to comment.