diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 10:12:27 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 16:01:28 -0800 |
commit | 0159d5491fef4acadd116a989b671e1cd350382f (patch) | |
tree | 2cc7d1567c18a6629ea641922880ece36ad765de /lib/hweight.c | |
parent | e95ac143868752ad30d93068a6fc0b39cf3a1bf4 (diff) | |
download | linux-0159d5491fef4acadd116a989b671e1cd350382f.tar.gz linux-0159d5491fef4acadd116a989b671e1cd350382f.tar.bz2 linux-0159d5491fef4acadd116a989b671e1cd350382f.zip |
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>
Diffstat (limited to 'lib/hweight.c')
0 files changed, 0 insertions, 0 deletions