summaryrefslogtreecommitdiff
path: root/fs/btrfs/struct-funcs.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-01-08 17:20:54 +0300
committerDavid Sterba <dsterba@suse.cz>2015-03-03 19:23:56 +0300
commit351810c1d2aafa288af61844d877941d516fb031 (patch)
tree895beffc58abf520af6b1672d1245bb889e1ec11 /fs/btrfs/struct-funcs.c
parent853d8ec4b288ce52b49e12beeef0f3659ac423ce (diff)
downloadlinux-351810c1d2aafa288af61844d877941d516fb031.tar.xz
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 'fs/btrfs/struct-funcs.c')
0 files changed, 0 insertions, 0 deletions