diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-06 18:58:10 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-05-26 11:18:13 +0200 |
commit | dc00a94df4a06764d822b29cbf35b532343821c8 (patch) | |
tree | e7564cd1b9db1e8019cf1d4a458922c0de245b04 /exec | |
parent | b793108b09138edf0a963d9e3107eb400ee27011 (diff) |
libdiskfs: lock-less reference counting for peropen objects
* libdiskfs/diskfs.h (struct peropen): Use refcount_t for field refcnt.
* libdiskfs/peropen-make.c (diskfs_make_peropen): Initialize refcnt.
* libdiskfs/peropen-rele.c (diskfs_release_peropen): Adjust accordingly.
* libdiskfs/protid-make.c (diskfs_start_protid): Likewise. Also, the
node must no longer be locked, adjust comment accordingly.
(diskfs_create_protid): Likewise.
Diffstat (limited to 'exec')
0 files changed, 0 insertions, 0 deletions