diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2016-09-22 15:11:47 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-09-26 13:37:06 -0400 |
commit | dd12d5b8046f556cd9d13ab9d0e83ce03c6f3a16 (patch) | |
tree | af18fc9e1c037f23d7660581e9aa138458a83ff2 | |
parent | 0ccd05285e7f5a8e297e1d6dfc41e7c65757d6fa (diff) |
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>
-rw-r--r-- | fs/btrfs/extent-tree.c | 1 |
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: | |||
2972 | spin_unlock(&delayed_refs->lock); | 2972 | spin_unlock(&delayed_refs->lock); |
2973 | goto out; | 2973 | goto out; |
2974 | } | 2974 | } |
2975 | count = (unsigned long)-1; | ||
2976 | 2975 | ||
2977 | while (node) { | 2976 | while (node) { |
2978 | head = rb_entry(node, struct btrfs_delayed_ref_head, | 2977 | head = rb_entry(node, struct btrfs_delayed_ref_head, |