예제 #1
0
void
pentry_md_lock(tpath_entry *pe)
{
        assert(pe);

        pentry_gen_lock(pe, &pe->md_mutex);
}
예제 #2
0
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);
}