tty: audit: Early-out pty master reads earlier
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 10 Jan 2016 06:55:25 +0000 (22:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jan 2016 00:41:04 +0000 (16:41 -0800)
commitd7c0ba40ebb32510e2c5d80a392474320cab8a2d
tree93341323f8d4d89868548d5dd69fe25168c716ea
parent4a510969374ab8853451c337e43d28fb864e43fd
tty: audit: Early-out pty master reads earlier

Reads from pty masters are not logged; early-out before taking
locks.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_audit.c