summaryrefslogtreecommitdiffstats
path: root/lib/radix-tree.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-11-19 19:11:11 +0100
committerDavid Howells <dhowells@redhat.com>2009-11-19 19:11:11 +0100
commit7e311a207d596b9273d811149d6e3e14f05ac4c0 (patch)
tree96c766e56e73df02a430bc0df72066413838fed0 /lib/radix-tree.c
parentFS-Cache: Add counters for entry/exit to/from cache operation functions (diff)
downloadlinux-7e311a207d596b9273d811149d6e3e14f05ac4c0.tar.xz
linux-7e311a207d596b9273d811149d6e3e14f05ac4c0.zip
FS-Cache: Clear netfs pointers in cookie after detaching object, not before
Clear the pointers from the fscache_cookie struct to netfs private data after clearing the pointer to the cookie from the fscache_object struct and releasing the object lock, rather than before. This allows the netfs private data pointers to be relied on simply by holding the object lock, rather than having to hold the cookie lock. This is makes things simpler as the cookie lock has to be taken before the object lock, but sometimes the object pointer is all that the code has. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions