diff options
author | Stefan Behrens <sbehrens@giantdisaster.de> | 2013-08-14 12:12:25 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-01 08:15:50 -0400 |
commit | 35a3621beb3e2face3e7954eaee20a8fa0043fac (patch) | |
tree | 2af11fe9a4421f1438de09e687749c25b8d6b37a /fs/btrfs/backref.c | |
parent | 18674c6cc10e78745f7af7faf26583ea9fe78c38 (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/backref.c')
-rw-r--r-- | fs/btrfs/backref.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c index ae798c1d088b..977e9c66f2e3 100644 --- a/fs/btrfs/backref.c +++ b/fs/btrfs/backref.c | |||
@@ -365,7 +365,7 @@ static int __resolve_indirect_refs(struct btrfs_fs_info *fs_info, | |||
365 | node = ulist_next(parents, &uiter); | 365 | node = ulist_next(parents, &uiter); |
366 | ref->parent = node ? node->val : 0; | 366 | ref->parent = node ? node->val : 0; |
367 | ref->inode_list = node ? | 367 | ref->inode_list = node ? |
368 | (struct extent_inode_elem *)(uintptr_t)node->aux : 0; | 368 | (struct extent_inode_elem *)(uintptr_t)node->aux : NULL; |
369 | 369 | ||
370 | /* additional parents require new refs being added here */ | 370 | /* additional parents require new refs being added here */ |
371 | while ((node = ulist_next(parents, &uiter))) { | 371 | while ((node = ulist_next(parents, &uiter))) { |