hammer_lock_excl_owned
if (hammer_lock_excl_owned(&cursor->node->lock, curthread))
hammer_lock_excl_owned(&cursor->parent->lock, curthread)) {