diff options
author | David Sterba <dsterba@suse.cz> | 2015-01-08 15:20:54 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-03-03 17:23:56 +0100 |
commit | 351810c1d2aafa288af61844d877941d516fb031 (patch) | |
tree | 895beffc58abf520af6b1672d1245bb889e1ec11 /net/dcb | |
parent | btrfs: need_resched not needed with cond_resched (diff) | |
download | linux-351810c1d2aafa288af61844d877941d516fb031.tar.xz linux-351810c1d2aafa288af61844d877941d516fb031.zip |
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>
Diffstat (limited to 'net/dcb')
0 files changed, 0 insertions, 0 deletions