btrfs: fix uninitialized variable in find_first_clear_extent_bit
authorJosef Bacik <josef@toxicpanda.com>
Fri, 18 Nov 2022 20:09:42 +0000 (15:09 -0500)
committerDavid Sterba <dsterba@suse.com>
Mon, 5 Dec 2022 17:00:59 +0000 (18:00 +0100)
commit26df39a9e5a8985674e814f0b27b25e8b4eb9ba7
tree1ac5281d631d60364e624e9a1c3d61ef3841f07f
parentd7c9e1be2876f63fb2178a24e0c1d5733ff98d47
btrfs: fix uninitialized variable in find_first_clear_extent_bit

This was caught when syncing extent-io-tree.c into btrfs-progs.  This
however isn't really a problem, the only way next would be uninitialized
is if we found the range we were looking for, and in this case we don't
care about next.  However it's a compile error, so fix it up.

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-io-tree.c