From: Eric W. Biederman We already have the tasklist_lock so there is no need for us to reacquire it with send_group_sig_info. reader/writer locks allow multiple readers and thus recursion so the old code was ok just wastful. Signed-off-by: Eric W. Biederman Signed-off-by: Andrew Morton --- drivers/char/tty_io.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN drivers/char/tty_io.c~do_tty_hangup-use-group_send_sig_info-not drivers/char/tty_io.c --- devel/drivers/char/tty_io.c~do_tty_hangup-use-group_send_sig_info-not 2006-01-29 00:37:41.000000000 -0800 +++ devel-akpm/drivers/char/tty_io.c 2006-01-29 00:37:41.000000000 -0800 @@ -1092,8 +1092,8 @@ static void do_tty_hangup(void *data) p->signal->tty = NULL; if (!p->signal->leader) continue; - send_group_sig_info(SIGHUP, SEND_SIG_PRIV, p); - send_group_sig_info(SIGCONT, SEND_SIG_PRIV, p); + group_send_sig_info(SIGHUP, SEND_SIG_PRIV, p); + group_send_sig_info(SIGCONT, SEND_SIG_PRIV, p); if (tty->pgrp > 0) p->signal->tty_old_pgrp = tty->pgrp; } while_each_task_pid(tty->session, PIDTYPE_SID, p); _