From f8d7bbd1fab8ed5c8f7c75d43c6dbe4bfb4f847a Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Fri, 8 Jun 2007 08:44:41 -0400 Subject: 32 bit compile fixes --- extent-tree.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'extent-tree.c') 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(); } -- cgit v1.2.1