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

From: Derek Fawcus
Date: Thu Oct 09 2008 - 09:22:30 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/