From: Alan Cox Date: Thu, 9 Jul 2009 12:36:22 +0000 (+0100) Subject: tty: Fix USB kref leak X-Git-Tag: v2.6.31-rc3~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24a15a62dcb1968bf4ffdae55c88fa934d971180;p=pandora-kernel.git tty: Fix USB kref leak The sysrq code acquired a kref leak. Fix it by passing the tty separately from the caller (thus effectively using the callers kref which all the callers hold anyway) Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed