mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-20 06:54:28 +00:00
Add support for the radix buddy bitmaps
Update mkfs and print to support the buddy allocator that's indexed by radix blocks. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -104,4 +104,9 @@ __gen_functions(cast, be)
|
||||
#error "machine is neither BIG_ENDIAN nor LITTLE_ENDIAN"
|
||||
#endif
|
||||
|
||||
static inline void le32_add_cpu(__le32 *val, u32 delta)
|
||||
{
|
||||
*val = cpu_to_le32(le32_to_cpu(*val) + delta);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user