]> git.baikalelectronics.ru Git - kernel.git/commit
Add an instance parameter devpts interfaces
authorSukadev Bhattiprolu <sukadev@us.ibm.com>
Mon, 13 Oct 2008 09:42:59 +0000 (10:42 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:43 +0000 (09:51 -0700)
commit3d1d2314090d7010b8838d5f10c81977c8bbbb82
tree301eea94cb514dc12b5070fc4b3ab33d3aab4322
parent7a84b46e97b7cf13c97c9db325e6eab1b5dbe645
Add an instance parameter devpts interfaces

Pass-in 'inode' or 'tty' parameter to devpts interfaces.  With multiple
devpts instances, these parameters will be used in subsequent patches
to identify the instance of devpts mounted. The parameters also help
simplify devpts implementation.

Changelog[v3]:
- minor changes due to merge with ttydev updates
- rename parameters to emphasize they are ptmx or pts inodes
- pass-in tty_struct * to devpts_pty_kill() (this will help
  cleanup the get_node() call in a subsequent patch)

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>
drivers/char/pty.c
drivers/char/tty_io.c
fs/devpts/inode.c
include/linux/devpts_fs.h
include/linux/tty_driver.h