Peter Hurley
ebc9baed42
tty: Separate release semantics of ldisc reference
...
tty_ldisc_ref()/tty_ldisc_unref() have usage semantics
equivalent to down_read_trylock()/up_read(). Only
callers of tty_ldisc_put() are performing the additional
operations necessary for proper ldisc teardown, and then only
after ensuring no outstanding 'read lock' remains.
Thus, tty_ldisc_unref() should never be the last reference;
WARN if it is. Conversely, tty_ldisc_put() should never be
destructing if the use count != 1.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-18 16:48:42 -07:00
..
2013-03-04 14:23:40 +01:00
2013-03-03 11:54:39 -08:00
2013-03-04 14:23:40 +01:00
2013-02-27 19:10:24 -08:00
2013-03-07 14:54:28 -08:00
2013-03-01 13:52:03 -05:00
2013-02-28 17:43:09 -08:00
2013-02-21 17:40:58 -08:00
2013-03-08 14:42:16 -08:00
2013-02-27 19:10:24 -08:00
2013-03-03 12:06:09 -08:00
2013-02-27 13:08:35 -05:00
2013-03-06 23:40:11 +01:00
2013-02-25 15:56:15 -08:00
2013-02-27 19:10:15 -08:00
2013-03-03 10:20:22 -08:00
2013-02-28 20:42:33 -08:00
2013-02-27 19:10:15 -08:00
2013-03-09 16:51:13 -08:00
2013-03-02 13:20:21 +00:00
2013-03-08 08:36:01 +10:00
2013-03-08 14:42:52 -08:00
2013-03-01 13:39:00 -08:00
2013-02-27 10:15:53 -08:00
2013-03-03 21:45:48 -08:00
2013-02-27 19:10:20 -08:00
2013-02-26 20:16:07 -08:00
2013-02-22 19:25:09 -08:00
2013-03-03 19:36:31 -08:00
2013-03-09 10:31:01 -08:00
2013-03-06 09:41:51 +01:00
2013-03-03 12:06:09 -08:00
2013-03-18 16:24:30 -07:00
2013-02-26 09:29:02 -08:00
2013-02-26 14:49:12 -08:00
2013-02-23 17:09:55 -08:00
2013-03-04 14:23:11 +01:00
2013-03-05 17:22:08 -08:00
2013-02-28 20:00:40 -08:00
2013-02-27 19:10:23 -08:00
2013-02-27 19:10:17 -08:00
2013-03-03 19:36:31 -08:00
2013-03-18 16:24:29 -07:00
2013-03-03 19:36:31 -08:00
2013-03-18 16:24:30 -07:00
2013-02-21 17:40:58 -08:00
2013-03-03 19:36:31 -08:00
2013-02-26 20:16:07 -08:00
2013-02-21 17:54:03 -08:00
2013-03-04 14:23:40 +01:00
2013-02-21 17:40:58 -08:00
2013-03-08 16:03:29 -08:00
2013-03-04 14:23:40 +01:00
2013-02-27 19:10:18 -08:00
2013-02-27 19:10:23 -08:00
2013-02-26 09:34:29 -08:00
2013-03-05 10:12:43 +08:00
2013-02-27 19:10:18 -08:00
2013-02-27 19:10:18 -08:00
2013-03-01 12:40:36 +01:00
2013-03-18 16:19:45 -07:00
2013-02-26 20:16:07 -08:00
2013-03-04 14:23:40 +01:00
2013-02-22 10:07:30 +01:00
2013-03-18 16:19:45 -07:00
2013-03-02 11:43:27 -08:00
2013-02-28 20:23:09 -08:00
2013-03-18 16:48:42 -07:00
2013-02-27 19:10:19 -08:00
2013-03-18 16:24:29 -07:00
2013-02-27 19:10:19 -08:00
2013-02-26 11:42:23 -08:00
2013-02-27 19:10:09 -08:00
2013-02-26 14:49:12 -08:00
2013-02-28 19:59:34 -08:00
2013-03-01 12:56:26 +01:00
2013-03-03 19:36:31 -08:00
2013-02-22 23:31:31 -05:00
2013-02-23 17:09:55 -08:00