diff options
author | Josef Bacik <josef@toxicpanda.com> | 2022-12-16 15:15:54 -0500 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2023-02-13 17:50:33 +0100 |
commit | efbf35a102b20246cfe4409c6ae92e72ecb67ab8 (patch) | |
tree | f2bf720785389c5c92a595a6d1051cbf3fb98129 /fs/btrfs/extent-io-tree.c | |
parent | ab199013592abb3499b8316a800a39ab61e6719f (diff) | |
download | lwn-efbf35a102b20246cfe4409c6ae92e72ecb67ab8.tar.gz lwn-efbf35a102b20246cfe4409c6ae92e72ecb67ab8.zip |
btrfs: fix uninitialized variable warning in btrfs_update_block_group
reclaim isn't set in the alloc case, however we only care about
reclaim in the !alloc case. This isn't an actual problem, however
-Wmaybe-uninitialized will complain, so initialize reclaim to quiet the
compiler.
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent-io-tree.c')
0 files changed, 0 insertions, 0 deletions