entry->mount = mount;
entry->count = 1;
- DBG_DEBUG("adding mount cache entry for %s\n", entry->cookie);
+ DBG_DEBUG("[CEPH] adding mount cache entry for %s\n", entry->cookie);
DLIST_ADD(cephmount_cached, entry);
*out_entry = entry;
for (entry = cephmount_cached; entry; entry = entry->next) {
if (strcmp(entry->cookie, cookie) == 0) {
entry->count++;
- DBG_DEBUG("updated mount cache: count is [%"
+ DBG_DEBUG("[CEPH] updated mount cache: count is [%"
PRIu32 "]\n", entry->count);
return entry;
}
static int cephmount_cache_remove(struct cephmount_cached *entry)
{
if (--entry->count) {
- DBG_DEBUG("updated mount cache: count is [%" PRIu32 "]\n",
- entry->count);
+ DBG_DEBUG("[CEPH] updated mount cache: count is [%"
+ PRIu32 "]\n", entry->count);
return entry->count;
}
- DBG_DEBUG("removing mount cache entry for %s\n", entry->cookie);
+ DBG_DEBUG("[CEPH] removing mount cache entry for %s\n", entry->cookie);
DLIST_REMOVE(cephmount_cached, entry);
talloc_free(entry);
return 0;
ret = cephmount_cache_remove(handle->data);
if (ret > 0) {
- DBG_DEBUG("mount cache entry still in use\n");
+ DBG_DEBUG("[CEPH] mount cache entry still in use\n");
return;
}