[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20101125175910.GH22651@bombadil.infradead.org>
Date: Thu, 25 Nov 2010 12:59:10 -0500
From: Kyle McMartin <kyle@...artin.ca>
To: Jiri Slaby <jslaby@...e.cz>
Cc: gregkh@...e.de, akpm@...ux-foundation.org,
linux-kernel@...r.kernel.org, jirislaby@...il.com,
Kyle McMartin <kyle@...artin.ca>,
Alan Cox <alan@...rguk.ukuu.org.uk>
Subject: Re: [PATCH 1/1] TTY: don't allow reopen when ldisc is changing
On Thu, Nov 25, 2010 at 06:16:23PM +0100, Jiri Slaby wrote:
> - if (test_bit(TTY_CLOSING, &tty->flags))
> + if (test_bit(TTY_CLOSING, &tty->flags) ||
> + test_bit(TTY_LDISC_CHANGING, &tty->flags))
> return -EIO;
>
Doh, nice catch. I just built a couple test images and sent them out to
the reporters for confirmation.
Thanks!
Kyle
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists