summaryrefslogtreecommitdiff
path: root/fs/btrfs
diff options
context:
space:
mode:
authorGoldwyn Rodrigues <rgoldwyn@suse.com>2016-09-22 22:11:47 +0300
committerDavid Sterba <dsterba@suse.com>2016-09-26 20:37:06 +0300
commitdd12d5b8046f556cd9d13ab9d0e83ce03c6f3a16 (patch)
treeaf18fc9e1c037f23d7660581e9aa138458a83ff2 /fs/btrfs
parent0ccd05285e7f5a8e297e1d6dfc41e7c65757d6fa (diff)
downloadlinux-dd12d5b8046f556cd9d13ab9d0e83ce03c6f3a16.tar.xz
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 <rgoldwyn@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/extent-tree.c1
1 files changed, 0 insertions, 1 deletions
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,