aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2011-04-20 10:43:15 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-04-25 14:19:11 -0700
commit0ad7c9af3e1cbb97082062266705d6cb5fb207ee (patch)
tree7934df8bfa67d18d21e9d9ee7f9efc6a431854a6 /fs/jbd2/commit.c
parentChar: nozomi, remove useless tty_sem (diff)
downloadlinux-rng-0ad7c9af3e1cbb97082062266705d6cb5fb207ee.tar.xz
linux-rng-0ad7c9af3e1cbb97082062266705d6cb5fb207ee.zip
Char: moxa, fix locking in moxa_write
moxa_write can be called from atomic context with irqs disabled (from ppp_async_push). Don't enable interrupts by spin_unlock_bh as this might cause deadlocks in the ppp layer. Instead, use irqsave/irqrestore spin_lock functions. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions