commit | 0159d5491fef4acadd116a989b671e1cd350382f | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@web.de> | Mon Feb 08 10:12:27 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Feb 16 16:01:28 2010 -0800 |
tree | 2cc7d1567c18a6629ea641922880ece36ad765de | |
parent | e95ac143868752ad30d93068a6fc0b39cf3a1bf4 [diff] |
CAPI: Use kref on capiminor Install a reference counter for capiminor objects. Acquire it when obtaining a capiminor from the array during capinc_tty_open, drop it when closing the tty again. Another reference is held for the hook-up with capincci. Signed-off-by: Jan Kiszka <jan.kiszka@web.de> Signed-off-by: David S. Miller <davem@davemloft.net>