commit | 351810c1d2aafa288af61844d877941d516fb031 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.cz> | Thu Jan 08 15:20:54 2015 +0100 |
committer | David Sterba <dsterba@suse.cz> | Tue Mar 03 17:23:56 2015 +0100 |
tree | 895beffc58abf520af6b1672d1245bb889e1ec11 | |
parent | 853d8ec4b288ce52b49e12beeef0f3659ac423ce [diff] |
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>