diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-15 22:16:51 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-01-01 11:47:41 -0500 |
commit | e06af20719a439730a588155e3b28d327a57d951 (patch) | |
tree | 1289bb99ba39d3abce9ce46b1f6dd8c6b65e8992 /fs/bcachefs/btree_iter.c | |
parent | 73ffa5305694bfda7e39e079dcbd2199fb410781 (diff) | |
download | linux-stable-e06af20719a439730a588155e3b28d327a57d951.tar.gz linux-stable-e06af20719a439730a588155e3b28d327a57d951.tar.bz2 linux-stable-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; |