aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorNeilBrown <[email protected]>2005-06-23 22:03:10 -0700
committerLinus Torvalds <[email protected]>2005-06-24 00:06:30 -0700
commit13cd21845d6a9729ca95e36ae6e8c669623fbfd4 (patch)
treed60064a17994393bfdc412cc1a85ffdf2a5f5914 /scripts/basic/split-include.c
parent8beefa249371f55432394ac96864c83b0b309c28 (diff)
[PATCH] nfsd4: reference count struct nfs4_file
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 <[email protected]> Signed-off-by: Neil Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions