marcel 7f656072ad Don't return ERESTART when the device is gone. In ttydev_leave() ERESTART
is the indication that draining got interrupted due to a revoke(2) and
that tty_drain() is to be called again for draining to complete. If the
device is flagged as gone, then waiting/draining is not possible. Only
return ERESTART when waiting is still possible.

Obtained from:	Juniper Networks, Inc.
2014-07-26 15:46:41 +00:00
..
2014-07-26 04:38:09 +00:00
2014-04-07 20:44:00 +00:00
2014-07-26 10:20:48 +00:00
2014-07-26 04:38:09 +00:00
2014-07-24 23:14:03 +00:00
2014-07-07 00:27:09 +00:00
2014-04-17 12:22:08 +00:00
2014-06-14 12:26:12 +00:00
2014-06-28 17:36:18 +00:00
2014-02-06 13:28:06 +00:00
2014-07-07 00:27:09 +00:00
2014-07-07 00:27:09 +00:00