diff options
-rw-r--r-- | fs/btrfs/send.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c index f856d6ca3771..f3215028235c 100644 --- a/fs/btrfs/send.c +++ b/fs/btrfs/send.c @@ -6757,6 +6757,7 @@ static int btrfs_compare_trees(struct btrfs_root *left_root, advance_left = advance_right = 0; while (1) { + cond_resched(); if (advance_left && !left_end_reached) { ret = tree_advance(left_path, &left_level, left_root_level, |