void pentry_md_lock(tpath_entry *pe) { assert(pe); pentry_gen_lock(pe, &pe->md_mutex); }
int pentry_md_lock(pentry_t *pe) { assert(pe); LOG(LOG_DEBUG, "path=%s: lock(fd=%d)...", pe->path, pe->fd); return pentry_gen_lock(pe, &pe->md_mutex); }