aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorPeter Hurley <[email protected]>2016-01-10 22:41:05 -0800
committerGreg Kroah-Hartman <[email protected]>2016-01-27 15:01:44 -0800
commit7896f30d6fc602f02198999acca4840620288990 (patch)
tree96f385ae7c987248ac90a01cc323c1c72e2f47c1 /include/linux/debugobjects.h
parentc12da96f801a3f45b0634c966b9e7cda307daa72 (diff)
tty: Refactor tty_ldisc_reinit() for reuse
At tty hangup, the line discipline instance is reinitialized by closing the current ldisc instance and opening a new instance. This operation is complicated by error recovery: if the attempt to reinit the current line discipline fails, the line discipline is reset to N_TTY (which should not but can fail). Re-purpose tty_ldisc_reinit() to return a valid, open line discipline instance, or otherwise, an error. Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions