diff options
| author | Alexander Viro <viro@math.psu.edu> | 2002-10-15 04:25:32 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-10-15 04:25:32 -0700 |
| commit | 68c16870dcfaba7c9e2dd5055a2caf4edcf42e87 (patch) | |
| tree | 7c15437501c7bcf68bf634bfe88108cb5c62e472 /include/linux/errqueue.h | |
| parent | b288f6add39cf474fc2ec8087d32d3e1d4c1c6d0 (diff) | |
[PATCH] refcounts for gendisks
Finally. We use disk->dev.refcount as a gendisk refcount. New helper -
get_disk(): atomic_inc on refcount. get_gendisk() does it on return,
callers of get_gendisk() do put_disk() when they are done.
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
