From: Alan Cox Date: Mon, 13 Oct 2008 09:39:58 +0000 (+0100) Subject: tty: kref usage for isicom and moxa X-Git-Tag: v2.6.28-rc1~647 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d450b5a0196b6442cf3f29fc611d9c8daa56b559;p=pandora-kernel.git 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed