diff options
author | Sukadev Bhattiprolu | 2008-10-13 11:42:49 +0200 |
---|---|---|
committer | Linus Torvalds | 2008-10-13 18:51:43 +0200 |
commit | 4a2b5fddd53b80efcb3266ee36e23b8de28e761a (patch) | |
tree | ecb39392a17d1e9f0668c21064e3aa4207700e76 /include/linux/devpts_fs.h | |
parent | tty: extract the pty init time special cases (diff) | |
download | kernel-qcow2-linux-4a2b5fddd53b80efcb3266ee36e23b8de28e761a.tar.gz kernel-qcow2-linux-4a2b5fddd53b80efcb3266ee36e23b8de28e761a.tar.xz kernel-qcow2-linux-4a2b5fddd53b80efcb3266ee36e23b8de28e761a.zip |
Move tty lookup/reopen to caller
Move tty_driver_lookup_tty() and tty_reopen() from tty_init_dev()
into tty_open() (one of the two callers of tty_init_dev()). These
calls are not really required in ptmx_open(), the other caller,
since ptmx_open() would be setting up a new tty.
Changelog[v2]:
- remove the lookup and reopen calls from ptmx_open
- merge with recent changes to ttydev tree
Signed-off-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/devpts_fs.h')
0 files changed, 0 insertions, 0 deletions