]> Git Repo - linux.git/commit - drivers/tty/moxa.c
tty: kref usage for isicom and moxa
authorAlan Cox <[email protected]>
Mon, 13 Oct 2008 09:39:58 +0000 (10:39 +0100)
committerLinus Torvalds <[email protected]>
Mon, 13 Oct 2008 16:51:41 +0000 (09:51 -0700)
commitd450b5a0196b6442cf3f29fc611d9c8daa56b559
tree2a6b641b033bfbe16b194897ddbc988544dcefc2
parent4a90f09b20f4622dcbff1f0e1e6bae1704f8ad8c
tty: kref usage for isicom and moxa

Rather than blindly keep taking krefs we reorder the code in a few places
to pass the tty down to the right place (which is important as from the user
side it is not the case that tty == port->tty in all situations). For the irq
and related paths use the krefs to stop the tty being freed under us.

Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/char/isicom.c
drivers/char/moxa.c
This page took 0.054829 seconds and 4 git commands to generate.