summaryrefslogtreecommitdiff
path: root/extent-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-08 08:44:41 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-08 08:44:41 -0400
commitf8d7bbd1fab8ed5c8f7c75d43c6dbe4bfb4f847a (patch)
tree0e154eb2d9964a916cf9dce1c9350dfb720cdeef /extent-tree.c
parent84e9d08a4bd72f106c1d97823c76410ae5076420 (diff)
downloadbtrfs-progs-f8d7bbd1fab8ed5c8f7c75d43c6dbe4bfb4f847a.tar.gz
32 bit compile fixes
Diffstat (limited to 'extent-tree.c')
-rw-r--r--extent-tree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/extent-tree.c b/extent-tree.c
index 82952ef..5b3c3da 100644
--- a/extent-tree.c
+++ b/extent-tree.c
@@ -299,9 +299,10 @@ static int __free_extent(struct btrfs_trans_handle *trans, struct btrfs_root
u64 super_blocks_used;
if (pin) {
int err;
+ unsigned long bl = blocknr;
radix_tree_preload(GFP_KERNEL);
err = radix_tree_insert(&info->pinned_radix,
- blocknr, (void *)blocknr);
+ blocknr, (void *)bl);
BUG_ON(err);
radix_tree_preload_end();
}