Re: [PATCH 2/7] tty: Remove ASYNC_CLOSING checks in open()/hangup() methods

2015-10-17 Thread Greg Kroah-Hartman
On Sat, Oct 10, 2015 at 04:00:52PM -0400, Peter Hurley wrote: > > Note: The ASYNC_CLOSING flag state is still maintained since several > bitrotting drivers use it for (dubious) other purposes. I think we should drop it, it's pointless and no one ever actually does anything with it. thanks, greg

[PATCH 2/7] tty: Remove ASYNC_CLOSING checks in open()/hangup() methods

2015-10-10 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 for