diff options
author | George Spelvin <linux@horizon.com> | 2013-02-10 04:41:56 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-13 09:40:35 -0800 |
commit | 03a7ffe4e542310838bac70ef85acc17536b6d7c (patch) | |
tree | 2649b0ec20b7c3e4df18bf2da2a76dc64c01f94d /block/elevator.c | |
parent | 513b032c98b4b9414aa4e9b4a315cb1bf0380101 (diff) | |
download | op-kernel-dev-03a7ffe4e542310838bac70ef85acc17536b6d7c.zip op-kernel-dev-03a7ffe4e542310838bac70ef85acc17536b6d7c.tar.gz |
pps: Use pps_lookup_dev to reduce ldisc coupling
Now that N_TTY uses tty->disc_data for its private data,
'subclass' ldiscs cannot use ->disc_data for their own private data.
(This is a regression is v3.8-rc1)
Use pps_lookup_dev to associate the tty with the pps source instead.
This fixes a crashing regression in 3.8-rc1.
Signed-off-by: George Spelvin <linux@horizon.com>
Acked-by: Rodolfo Giometti <giometti@enneenne.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/elevator.c')
0 files changed, 0 insertions, 0 deletions