tty: Fix double grabbing of a spinlock
authorDenis Joseph Barrow <D.Barrow@option.com>
Thu, 15 Jan 2009 13:31:24 +0000 (13:31 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 15 Jan 2009 20:48:36 +0000 (12:48 -0800)
commitd45eb81c3e345fabaf27ef3ab437b85c0bf9fafa
tree46f3008a49f0c3dd167237419267d70626729e8c
parentfe41cbb164a0dc55f3914a0e4cabe8240410157c
tty: Fix double grabbing of a spinlock

The HSO changes for kref introduced a recursive spinlock take. All
functions which call put_rxbuf_data already have serial->serial_lock
grabbed.

[Comment to code added-AC]

Signed-off-by: Denis Joseph Barrow <D.Barrow@option.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/net/usb/hso.c