Home
last modified time | relevance | path

Searched refs:fstripe_lock (Results 1 – 1 of 1) sorted by relevance

/fs/btrfs/
Dscrub.c470 struct full_stripe_lock *fstripe_lock; in unlock_full_stripe() local
491 fstripe_lock = search_full_stripe_lock(locks_root, fstripe_start); in unlock_full_stripe()
493 if (!fstripe_lock) { in unlock_full_stripe()
500 if (fstripe_lock->refs == 0) { in unlock_full_stripe()
503 fstripe_lock->logical); in unlock_full_stripe()
505 fstripe_lock->refs--; in unlock_full_stripe()
508 if (fstripe_lock->refs == 0) { in unlock_full_stripe()
509 rb_erase(&fstripe_lock->node, &locks_root->root); in unlock_full_stripe()
514 mutex_unlock(&fstripe_lock->mutex); in unlock_full_stripe()
516 kfree(fstripe_lock); in unlock_full_stripe()