From 351810c1d2aafa288af61844d877941d516fb031 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Thu, 8 Jan 2015 15:20:54 +0100 Subject: [PATCH] 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-format-patch failed