Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284313
b: refs/heads/master
c: 94f5bfb
h: refs/heads/master
i:
  284311: ad41423
v: v3
  • Loading branch information
Gustavo F. Padovan committed Jan 3, 2012
1 parent f3db11c commit 8cc081b
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 4b5dd696f81b210c1511ca7a969525126266c933
refs/heads/master: 94f5bfb8c1641080c3c4325714b8fe7d2839a906
8 changes: 4 additions & 4 deletions trunk/net/bluetooth/af_bluetooth.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,17 @@ static int bt_sock_create(struct net *net, struct socket *sock, int proto,

void bt_sock_link(struct bt_sock_list *l, struct sock *sk)
{
write_lock_bh(&l->lock);
write_lock(&l->lock);
sk_add_node(sk, &l->head);
write_unlock_bh(&l->lock);
write_unlock(&l->lock);
}
EXPORT_SYMBOL(bt_sock_link);

void bt_sock_unlink(struct bt_sock_list *l, struct sock *sk)
{
write_lock_bh(&l->lock);
write_lock(&l->lock);
sk_del_node_init(sk);
write_unlock_bh(&l->lock);
write_unlock(&l->lock);
}
EXPORT_SYMBOL(bt_sock_unlink);

Expand Down

0 comments on commit 8cc081b

Please sign in to comment.