diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-10-19 09:22:59 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:03:57 -0400 |
commit | ae2f5411c4ce7180cca8418853db50c8e52d40db (patch) | |
tree | f169f0dfa6a13781dbf27baa4e283a0cc509e07d /fs/btrfs/ctree.c | |
parent | 44b36eb20bb60d7da1375c1fb45784740a4dc358 (diff) | |
download | lwn-ae2f5411c4ce7180cca8418853db50c8e52d40db.tar.gz lwn-ae2f5411c4ce7180cca8418853db50c8e52d40db.zip |
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.c | 2 |
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) ret = BTRFS_LEAF_DATA_SIZE(root) - leaf_space_used(leaf, 0, nritems); if (ret < 0) { printk("leaf free space ret %d, leaf data size %lu, used %d nritems %d\n", - ret, BTRFS_LEAF_DATA_SIZE(root), + ret, (unsigned long) BTRFS_LEAF_DATA_SIZE(root), leaf_space_used(leaf, 0, nritems), nritems); } return ret; |