diff options
author | Chris Mason <chris.mason@oracle.com> | 2012-02-24 16:39:05 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-02-24 16:39:05 +0100 |
commit | e77266e4c4be6f9dc91bf688bce015a8babd5fe0 (patch) | |
tree | 9ad1f7fa246188ac2f12088a8a1e354ffea63799 /fs/btrfs/transaction.c | |
parent | Btrfs: increase the global block reserve estimates (diff) | |
download | linux-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 '')
-rw-r--r-- | fs/btrfs/transaction.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c index 016977beee5c..04b77e3ceb7a 100644 --- a/fs/btrfs/transaction.c +++ b/fs/btrfs/transaction.c @@ -327,7 +327,8 @@ again: if (num_bytes) { trace_btrfs_space_reservation(root->fs_info, "transaction", - (u64)h, num_bytes, 1); + (u64)(unsigned long)h, + num_bytes, 1); h->block_rsv = &root->fs_info->trans_block_rsv; h->bytes_reserved = num_bytes; } |