search for: __dlm_unhash_lockres

Displaying 1 result from an estimated 1 matches for "__dlm_unhash_lockres".

2010 Jun 19
3
[PATCH 1/1] ocfs2 fix o2dlm dlm run purgelist
...elist, " "master = %d\n", res->lockname.len, res->lockname.name, res, master); list_del_init(&res->purge); - spin_unlock(&res->spinlock); dlm_lockres_put(res); dlm->purge_count--; - } else - spin_unlock(&res->spinlock); + } - __dlm_unhash_lockres(res); + if (__dlm_lockres_unused(res)) + __dlm_unhash_lockres(res); + else { + mlog(ML_ERROR, "found lockres %s:%.*s: in use after deref\n", + dlm->name, res->lockname.len, res->lockname.name); + __dlm_print_one_lock_resource(res); + } /* lockres is not in the hash n...