Skip to content
Commit d0e27b78 authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent 6511de33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment