tty: Move the vt_tty field from the vc_data into the standard tty_port
This takes all the tty references through the expected interface points so we can refcount them. Signed-off-by: Alan Cox <alan@linux.intel.com> Cc: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
ff917ba4f1
commit
8ce73264b7
@@ -58,7 +58,6 @@ struct vc_data {
|
||||
/* VT terminal data */
|
||||
unsigned int vc_state; /* Escape sequence parser state */
|
||||
unsigned int vc_npar,vc_par[NPAR]; /* Parameters of current escape sequence */
|
||||
struct tty_struct *vc_tty; /* TTY we are attached to */
|
||||
/* data for manual vt switching */
|
||||
struct vt_mode vt_mode;
|
||||
struct pid *vt_pid;
|
||||
|
Reference in New Issue
Block a user