diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 13:52:52 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 20:51:13 (GMT) |
commit | 0b479d54ae7b79f62f09ef977c2228e579924d38 (patch) | |
tree | 9bd7a2790bf9776130bb1cc5aff80bafa2a445ec /fs/nilfs2/ifile.c | |
parent | 52b762f7a94c88e5a8aa2be67a06a6f01020cc82 (diff) | |
download | linux-fsl-qoriq-0b479d54ae7b79f62f09ef977c2228e579924d38.tar.xz |
TTY: pdc_cons, fix open vs pdc_console_tty_driver race
Assign the pointer to pdc_console_tty_driver (a tty_driver) earlier.
Otherwise the timer may dereference NULL.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Helge Deller <deller@gmx.de>
Cc: "James E.J. Bottomley" <jejb@parisc-linux.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nilfs2/ifile.c')
0 files changed, 0 insertions, 0 deletions