diff options
author | avg <avg@FreeBSD.org> | 2012-12-01 18:12:55 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2012-12-01 18:12:55 +0000 |
commit | 700fe340873ef78e9c129fe5ac7a3e0e175d54ac (patch) | |
tree | 9e0e3f91c8e36ddca0cda3bf662161ac4b390f54 /contrib/llvm/lib/Support/FoldingSet.cpp | |
parent | e670629b6ab33961a09adc96858b7b8c31293321 (diff) | |
download | FreeBSD-src-700fe340873ef78e9c129fe5ac7a3e0e175d54ac.zip FreeBSD-src-700fe340873ef78e9c129fe5ac7a3e0e175d54ac.tar.gz |
gfs_file_inactive: replace bad code with ugly code
Also, make it explicit that V_XATTRDIR is not properly supported in gfs
code yet.
The bad code was plain incorrect: (a) it spoiled handling of v_usecount
reaching zero and (b) it leaked v_holdcnt.
The ugly code employs potentially unsafe locking tricks.
Ideally we should separate vnode lifecycle and gfs node lifecycle.
A gfs node should have its own reference count where its child nodes
should be accounted.
PR: kern/151111
Reviewed by: kib
MFC after: 13 days
Diffstat (limited to 'contrib/llvm/lib/Support/FoldingSet.cpp')
0 files changed, 0 insertions, 0 deletions