diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 13:52:51 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 20:51:13 (GMT) |
commit | 52b762f7a94c88e5a8aa2be67a06a6f01020cc82 (patch) | |
tree | 637b42adc531c7cfd1e5b3c374fa19b84e5864ba /fs/hppfs | |
parent | e380a81e34375a38f253b42394ef06ca3127559f (diff) | |
download | linux-52b762f7a94c88e5a8aa2be67a06a6f01020cc82.tar.xz |
TTY: pdc_cons, fix open vs timer race
The timer is initialized too late. tty->open may fire an invalid
timer. So initialize the timer earlier using DEFINE_TIMER.
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/hppfs')
0 files changed, 0 insertions, 0 deletions