diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-16 04:16:51 +0100 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 17:47:41 +0100 |
commit | e06af20719a439730a588155e3b28d327a57d951 (patch) | |
tree | 1289bb99ba39d3abce9ce46b1f6dd8c6b65e8992 /fs/bcachefs/btree_iter.c | |
parent | bcachefs: Drop journal entry compaction (diff) | |
download | linux-e06af20719a439730a588155e3b28d327a57d951.tar.xz linux-e06af20719a439730a588155e3b28d327a57d951.zip |
bcachefs: fix userspace build errors
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_iter.c')
-rw-r--r-- | fs/bcachefs/btree_iter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/bcachefs/btree_iter.c b/fs/bcachefs/btree_iter.c index 9946b9b6b5a5..ed4b8c302a9a 100644 --- a/fs/bcachefs/btree_iter.c +++ b/fs/bcachefs/btree_iter.c @@ -2699,8 +2699,8 @@ void bch2_trans_copy_iter(struct btree_iter *dst, struct btree_iter *src) void *__bch2_trans_kmalloc(struct btree_trans *trans, size_t size) { unsigned new_top = trans->mem_top + size; - size_t old_bytes = trans->mem_bytes; - size_t new_bytes = roundup_pow_of_two(new_top); + unsigned old_bytes = trans->mem_bytes; + unsigned new_bytes = roundup_pow_of_two(new_top); int ret; void *new_mem; void *p; |