Searched refs:fstripe_lock (Results 1 – 1 of 1) sorted by relevance
471 struct full_stripe_lock *fstripe_lock; in unlock_full_stripe() local492 fstripe_lock = search_full_stripe_lock(locks_root, fstripe_start); in unlock_full_stripe()494 if (!fstripe_lock) { in unlock_full_stripe()501 if (fstripe_lock->refs == 0) { in unlock_full_stripe()504 fstripe_lock->logical); in unlock_full_stripe()506 fstripe_lock->refs--; in unlock_full_stripe()509 if (fstripe_lock->refs == 0) { in unlock_full_stripe()510 rb_erase(&fstripe_lock->node, &locks_root->root); in unlock_full_stripe()515 mutex_unlock(&fstripe_lock->mutex); in unlock_full_stripe()517 kfree(fstripe_lock); in unlock_full_stripe()