aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/check-integrity.c
diff options
context:
space:
mode:
authorStefan Behrens <sbehrens@giantdisaster.de>2013-08-14 12:12:25 -0400
committerChris Mason <chris.mason@fusionio.com>2013-09-01 08:15:50 -0400
commit35a3621beb3e2face3e7954eaee20a8fa0043fac (patch)
tree2af11fe9a4421f1438de09e687749c25b8d6b37a /fs/btrfs/check-integrity.c
parent18674c6cc10e78745f7af7faf26583ea9fe78c38 (diff)
Btrfs: get rid of sparse warnings
make C=2 fs/btrfs/ CF=-D__CHECK_ENDIAN__ I tried to filter out the warnings for which patches have already been sent to the mailing list, pending for inclusion in btrfs-next. All these changes should be obviously safe. Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/check-integrity.c')
-rw-r--r--fs/btrfs/check-integrity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/check-integrity.c b/fs/btrfs/check-integrity.c
index 1f706e93e622..07f39a3dedb0 100644
--- a/fs/btrfs/check-integrity.c
+++ b/fs/btrfs/check-integrity.c
@@ -2441,7 +2441,7 @@ static int btrfsic_process_written_superblock(
2441 int num_copies; 2441 int num_copies;
2442 int mirror_num; 2442 int mirror_num;
2443 const char *additional_string = NULL; 2443 const char *additional_string = NULL;
2444 struct btrfs_disk_key tmp_disk_key; 2444 struct btrfs_disk_key tmp_disk_key = {0};
2445 2445
2446 btrfs_set_disk_key_objectid(&tmp_disk_key, 2446 btrfs_set_disk_key_objectid(&tmp_disk_key,
2447 BTRFS_ROOT_ITEM_KEY); 2447 BTRFS_ROOT_ITEM_KEY);