13cd21845d
Add a struct kref to each nfs4_file and take a reference to it from each stateid and delegation that refers to it. The atomicity guarantees are overkill given that all this stuff is done under the single nfsd4 state lock, but a) we'd like finer-grained locking some day, and b) this simplifies the cleanup of the structures a bit, something that has previously been a bit complicated and bug-prone. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu> Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
auth.h | ||
cache.h | ||
const.h | ||
debug.h | ||
export.h | ||
interface.h | ||
nfsd.h | ||
nfsfh.h | ||
state.h | ||
stats.h | ||
syscall.h | ||
xdr3.h | ||
xdr4.h | ||
xdr.h |