aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-10-19 09:22:59 -0400
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:57 -0400
commitae2f5411c4ce7180cca8418853db50c8e52d40db (patch)
treef169f0dfa6a13781dbf27baa4e283a0cc509e07d /fs/btrfs/ctree.c
parent44b36eb20bb60d7da1375c1fb45784740a4dc358 (diff)
btrfs: 32-bit type problems
An assorted set of casts to get rid of the warnings on 32-bit archs. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 54967099a8eb..17a322663f3b 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -1389,7 +1389,7 @@ int btrfs_leaf_free_space(struct btrfs_root *root, struct extent_buffer *leaf)
1389 ret = BTRFS_LEAF_DATA_SIZE(root) - leaf_space_used(leaf, 0, nritems); 1389 ret = BTRFS_LEAF_DATA_SIZE(root) - leaf_space_used(leaf, 0, nritems);
1390 if (ret < 0) { 1390 if (ret < 0) {
1391 printk("leaf free space ret %d, leaf data size %lu, used %d nritems %d\n", 1391 printk("leaf free space ret %d, leaf data size %lu, used %d nritems %d\n",
1392 ret, BTRFS_LEAF_DATA_SIZE(root), 1392 ret, (unsigned long) BTRFS_LEAF_DATA_SIZE(root),
1393 leaf_space_used(leaf, 0, nritems), nritems); 1393 leaf_space_used(leaf, 0, nritems), nritems);
1394 } 1394 }
1395 return ret; 1395 return ret;