Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95170
b: refs/heads/master
c: dd9a451
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Linus Torvalds committed Apr 30, 2008
1 parent 82a8c21 commit 20e2a0b
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 1f8cabb7055b98300aa0798ee0f6513dfc130cc2
refs/heads/master: dd9a451aad4fd7d5f46d2300c0e4fb70d8914453
7 changes: 5 additions & 2 deletions trunk/drivers/char/viocons.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,8 +704,11 @@ static int viotty_ioctl(struct tty_struct *tty, struct file *file,
case KDSKBLED:
return 0;
}

return n_tty_ioctl(tty, file, cmd, arg);
/* FIXME: WTF is this being called for ??? */
lock_kernel();
ret = n_tty_ioctl(tty, file, cmd, arg);
unlock_kernel();
return ret;
}

/*
Expand Down

0 comments on commit 20e2a0b

Please sign in to comment.