From: David Sterba Date: Thu, 8 Jan 2015 14:20:54 +0000 (+0100) Subject: btrfs: use cond_resched_lock where possible X-Git-Tag: omap-for-v4.1/fixes-rc1~43^2~59^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=351810c1d2aafa288af61844d877941d516fb031;p=pandora-kernel.git 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 --- Reading git-diff-tree failed