From: Goldwyn Rodrigues Date: Thu, 22 Sep 2016 19:11:47 +0000 (-0500) Subject: btrfs: Do not reassign count in btrfs_run_delayed_refs X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=dd12d5b8046f556cd9d13ab9d0e83ce03c6f3a16;p=linux-beck.git btrfs: Do not reassign count in btrfs_run_delayed_refs Code cleanup. count is already (unsgined long)-1. That is the reason run_all was set. Do not reassign it (unsigned long)-1. Signed-off-by: Goldwyn Rodrigues Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index e229d740bdfe..475962850a1f 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -2972,7 +2972,6 @@ again: spin_unlock(&delayed_refs->lock); goto out; } - count = (unsigned long)-1; while (node) { head = rb_entry(node, struct btrfs_delayed_ref_head,