Wessel Dankers 7b15324de1
Fix heap corruption in bcachefs format
In bch2_format(): recompute mi after each sb modification:
its location in memory may have changed due to reallocation.

This fixes an issue where labels were not assigned (because
they were written to an undefined part of the heap instead of
the superblock).

Signed-off-by: Wessel Dankers <wsl@fruit.je>
2022-01-13 00:08:52 +01:00
2021-10-18 16:31:21 -04:00
2021-10-23 12:16:08 -04:00
2021-12-20 15:24:22 -05:00
2021-10-20 22:11:58 -04:00
2021-10-23 12:16:08 -04:00
2018-11-23 02:10:44 -05:00
2021-10-23 12:16:08 -04:00
2021-04-16 17:28:40 -04:00
2022-01-01 21:14:28 -05:00
2022-01-01 21:14:22 -05:00
2016-03-11 21:18:42 -09:00
2013-07-17 13:13:31 -07:00
2021-10-23 12:16:08 -04:00
2021-10-23 12:16:08 -04:00
2021-10-23 12:16:08 -04:00
2022-01-01 21:14:22 -05:00
2022-01-01 21:14:22 -05:00
2017-03-09 09:14:11 -09:00
2021-10-11 20:24:12 -06:00
2022-01-01 21:14:22 -05:00
2022-01-01 21:14:22 -05:00

Userspace tools for bcachefs

This builds the bcachefs tool, which has a number of subcommands for formatting
and managing bcachefs filesystems:

bcachefs format
bcachefs unlock
bcachefs assemble
bcachefs incremental
etc.

Run bcachefs --help for full list of commands.
Description
Languages
C 95.6%
C++ 2%
Rust 1.4%
Roff 0.4%
Nix 0.2%
Other 0.4%