summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/check-integrity.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2012-02-24 16:39:05 +0100
committerChris Mason <chris.mason@oracle.com>2012-02-24 16:39:05 +0100
commite77266e4c4be6f9dc91bf688bce015a8babd5fe0 (patch)
tree9ad1f7fa246188ac2f12088a8a1e354ffea63799 /fs/btrfs/check-integrity.c
parentBtrfs: increase the global block reserve estimates (diff)
downloadlinux-e77266e4c4be6f9dc91bf688bce015a8babd5fe0.tar.xz
linux-e77266e4c4be6f9dc91bf688bce015a8babd5fe0.zip
Btrfs: fix compiler warnings on 32 bit systems
The enospc tracing code added some interesting uses of u64 pointer casts. Signed-off-by: Chris Mason <chris.mason@oracle.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 b669a7d8e499..d986824bb2b4 100644
--- a/fs/btrfs/check-integrity.c
+++ b/fs/btrfs/check-integrity.c
@@ -644,7 +644,7 @@ static struct btrfsic_dev_state *btrfsic_dev_state_hashtable_lookup(
static int btrfsic_process_superblock(struct btrfsic_state *state,
struct btrfs_fs_devices *fs_devices)
{
- int ret;
+ int ret = 0;
struct btrfs_super_block *selected_super;
struct list_head *dev_head = &fs_devices->devices;
struct btrfs_device *device;