Re: [PATCH 43/76] tty: Redo current tty locking

Derek Fawcus
2008-10-09T13:22:29Z

On Sun, Oct 05, 2008 at 05:15:37PM +0100, Alan Cox wrote:
> diff --git a/include/linux/tty.h b/include/linux/tty.h
> index c30ed8d..e00393a 100644
> --- a/include/linux/tty.h
> +++ b/include/linux/tty.h
> @@ -361,6 +361,7 @@ extern int is_ignored(int sig);
> extern int tty_signal(int sig, struct tty_struct *tty);
> extern void tty_hangup(struct tty_struct *tty);
> extern void tty_vhangup(struct tty_struct *tty);
> +extern void tty_vhangup_self(void);
> extern void tty_unhangup(struct file *filp);
> extern int tty_hung_up_p(struct file *filp);
> extern void do_SAK(struct tty_struct *tty);

>From a pedantic pov shouldn't the above be part of patch 42 - where you
actually created tty_vhangup_self()?

DF