aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDavid Sterba <[email protected]>2015-01-08 14:20:54 +0000
committerDavid Sterba <[email protected]>2015-03-03 16:23:56 +0000
commit351810c1d2aafa288af61844d877941d516fb031 (patch)
tree895beffc58abf520af6b1672d1245bb889e1ec11 /fs/btrfs/dev-replace.c
parentbtrfs: need_resched not needed with cond_resched (diff)
downloadkernel-351810c1d2aafa288af61844d877941d516fb031.tar.gz
kernel-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 <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions