summaryrefslogtreecommitdiff
path: root/include/linux/root_dev.h
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-10-15 04:25:32 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-15 04:25:32 -0700
commit68c16870dcfaba7c9e2dd5055a2caf4edcf42e87 (patch)
tree7c15437501c7bcf68bf634bfe88108cb5c62e472 /include/linux/root_dev.h
parentb288f6add39cf474fc2ec8087d32d3e1d4c1c6d0 (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/root_dev.h')
0 files changed, 0 insertions, 0 deletions