Re: [PATCH tty-next 17/22] tty: Remove ASYNC_CLOSING

2014-06-16 Thread Jesper Nilsson
On Mon, Jun 16, 2014 at 09:17:14AM -0400, Peter Hurley wrote: > Since at least before 2.6.30, tty drivers that do not drop the tty lock > while closing cannot observe ASYNC_CLOSING set while holding the > tty lock; this includes the tty driver's open() and hangup() methods, > since the tty core

[PATCH tty-next 17/22] tty: Remove ASYNC_CLOSING

2014-06-16 Thread Peter Hurley
Since at least before 2.6.30, tty drivers that do not drop the tty lock while closing cannot observe ASYNC_CLOSING set while holding the tty lock; this includes the tty driver's open() and hangup() methods, since the tty core calls these methods holding the tty lock. For these drivers, waiting

[PATCH tty-next 17/22] tty: Remove ASYNC_CLOSING

2014-06-16 Thread Peter Hurley
Since at least before 2.6.30, tty drivers that do not drop the tty lock while closing cannot observe ASYNC_CLOSING set while holding the tty lock; this includes the tty driver's open() and hangup() methods, since the tty core calls these methods holding the tty lock. For these drivers, waiting

Re: [PATCH tty-next 17/22] tty: Remove ASYNC_CLOSING

2014-06-16 Thread Jesper Nilsson
On Mon, Jun 16, 2014 at 09:17:14AM -0400, Peter Hurley wrote: Since at least before 2.6.30, tty drivers that do not drop the tty lock while closing cannot observe ASYNC_CLOSING set while holding the tty lock; this includes the tty driver's open() and hangup() methods, since the tty core calls