Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254669
b: refs/heads/master
c: 6e4e2f8
h: refs/heads/master
i:
  254667: c55e391
v: v3
  • Loading branch information
Arnd Bergmann authored and David S. Miller committed Jul 2, 2011
1 parent 10747ca commit 0cd8491
Show file tree
Hide file tree
Showing 3 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: 60c2ce2b4facf28f569115a55e1f479eb12bd0f1
refs/heads/master: 6e4e2f811bade330126d4029c88c831784a7efd9
4 changes: 2 additions & 2 deletions trunk/drivers/net/hamradio/6pack.c
Original file line number Diff line number Diff line change
Expand Up @@ -692,10 +692,10 @@ static void sixpack_close(struct tty_struct *tty)
{
struct sixpack *sp;

write_lock(&disc_data_lock);
write_lock_bh(&disc_data_lock);
sp = tty->disc_data;
tty->disc_data = NULL;
write_unlock(&disc_data_lock);
write_unlock_bh(&disc_data_lock);
if (!sp)
return;

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/net/hamradio/mkiss.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,10 +813,10 @@ static void mkiss_close(struct tty_struct *tty)
{
struct mkiss *ax;

write_lock(&disc_data_lock);
write_lock_bh(&disc_data_lock);
ax = tty->disc_data;
tty->disc_data = NULL;
write_unlock(&disc_data_lock);
write_unlock_bh(&disc_data_lock);

if (!ax)
return;
Expand Down

0 comments on commit 0cd8491

Please sign in to comment.