mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
btrfs: use cond_resched_lock where possible
Clean the opencoded variant, cond_resched_lock also checks the lock for contention so it might help in some cases that were not covered by simple need_resched(). Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
853d8ec4b2
commit
351810c1d2
3 changed files with 7 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue