summary refs log tree commit diff
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-10-12 19:13:54 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-12 10:21:33 -0700
commiteea7e17e0eb23729d58368420659f8e7c357d82e (patch)
tree728565e8a1f01d89dda17dff00a401915378a508 /fs/nfs/super.c
parentd93a8f829fe1d2f3002f2c6ddb553d12db420412 (diff)
downloadlinux-eea7e17e0eb23729d58368420659f8e7c357d82e.tar.gz
tty, serial: Fix race and NULL check in uart_close()
Commit 46d57a449aa1 ("serial: use tty_port pointers in the core code")
contained two bugs that causes (rare) crashes:

 - the rename typoed one site

 - a NULL check was missed

Reported-and-tested-by: Ingo Molnar <mingo@elte.hu>
Cc: Greg KH <gregkh@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nfs/super.c')
0 files changed, 0 insertions, 0 deletions