summaryrefslogtreecommitdiffstats
path: root/fs/fscache/object.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2009-11-19 18:12:02 +0000
committerDavid Howells <dhowells@redhat.com>2009-11-19 18:12:02 +0000
commitd0e27b7808dc667f3015be0b6888f6d680e222c8 (patch)
treebf8451f0d9a95db14ed1ebda50d701f4f387c0d8 /fs/fscache/object.c
parent6511de33c877a53b3df545bc06c29e0f272837ff (diff)
downloadop-kernel-dev-d0e27b7808dc667f3015be0b6888f6d680e222c8.zip
op-kernel-dev-d0e27b7808dc667f3015be0b6888f6d680e222c8.tar.gz
CacheFiles: Better showing of debugging information in active object problems
Show more debugging information if cachefiles_mark_object_active() is asked to activate an active object. This may happen, for instance, if the netfs tries to register an object with the same key multiple times. The code is changed to (a) get the appropriate object lock to protect the cookie pointer whilst we dereference it, and (b) get and display the cookie key if available. Signed-off-by: David Howells <dhowells@redhat.com>
Diffstat (limited to 'fs/fscache/object.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud