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-07 00:27:09 +00:00
2014-03-18 21:34:11 +00:00
2014-03-14 06:29:43 +00:00
2014-06-28 17:36:18 +00:00
2012-08-22 20:01:57 +00:00
2014-07-15 19:57:03 +00:00
2012-11-14 10:33:12 +00:00
2014-03-19 12:45:40 +00:00
2014-07-07 00:27:09 +00:00
2014-03-14 06:29:43 +00:00
2014-06-26 13:57:44 +00:00
2014-05-01 22:28:14 +00:00
2014-06-01 04:11:05 +00:00
2014-07-07 00:27:09 +00:00
2014-03-18 21:34:11 +00:00
2014-03-18 21:34:11 +00:00
2012-10-25 09:05:21 +00:00
2014-07-18 14:59:35 +00:00
MFC
2013-02-21 21:59:35 +00:00
2014-04-12 21:39:17 +00:00