Do not reassign count in btrfs_run_delayed_refs
PATCH 1/1 Do not reassign count in btrfs_run_delayed_refs
From: Goldwyn Rodrigues <[email protected]>
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 <[email protected]>
--- fs/btrfs/extent-tree.c | 1 - 1 file changed, 1 deletion(-)
fs/btrfs/extent-tree.c +0 -1
@@ -2971,7 +2971,6 @@ again:spin_unlock (&delayed_refs->lock); goto out; } - count = (unsigned long )-1 ;while (node) { head = rb_entry(node, struct btrfs_delayed_ref_head,
Signature · 1 line
2.6.6
Quoted 6 lines · Goldwyn Rodrigues
From: Goldwyn Rodrigues <[email protected]>
Code cleanup. count is already (unsgined long)-1. That is the reason
run_allwas set. Do not reassign it (unsigned long)-1.Signed-off-by Goldwyn Rodrigues <[email protected]>
Reviewed-by David Sterba <[email protected]>