diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2020-11-07 11:26:00 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2020-11-07 13:09:23 -0500 |
commit | d2a118d921dfdf43adfa37aed1d9df62925bda66 (patch) | |
tree | 0bc9aae1b3f3e3ea1c06afb162e393bbce48d0da /libbcachefs/varint.h | |
parent | 742dbbdbb90efb786f05a8576917fcd0e9cbd57e (diff) |
Update bcachefs sources to 1d669389f7 bcachefs: use a radix tree for inum bitmap in fsck
Diffstat (limited to 'libbcachefs/varint.h')
-rw-r--r-- | libbcachefs/varint.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libbcachefs/varint.h b/libbcachefs/varint.h new file mode 100644 index 00000000..8daf8135 --- /dev/null +++ b/libbcachefs/varint.h @@ -0,0 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +#ifndef _BCACHEFS_VARINT_H +#define _BCACHEFS_VARINT_H + +int bch2_varint_encode(u8 *, u64); +int bch2_varint_decode(const u8 *, const u8 *, u64 *); + +#endif /* _BCACHEFS_VARINT_H */ |