btrfs-progs/image
David Sterba c92b635cb7 btrfs-progs: unify init sequence of standalone utilities
Each utility that starts from main() (and is considered commonly used)
should init fastest checksum implementation and set up config. This was
properly done only in btrfs.c, fix it in btrfs-image, btrfs-convert and
btrfstune as all of them do a lot of checksum calculations. Other
standalone utilities do not need to do that.

- cpu_detect_flags();
- hash_init_accel();
- btrfs_config_init();

Signed-off-by: David Sterba <dsterba@suse.com>
2025-02-11 20:43:28 +01:00
..
common.c btrfs-progs: use unaligned LE access almost everywhere 2024-05-30 18:57:10 +02:00
common.h btrfs-progs: clean up includes, using include-what-you-use 2023-10-03 01:11:57 +02:00
image-create.c btrfs-progs: use unaligned LE access almost everywhere 2024-05-30 18:57:10 +02:00
image-restore.c btrfs-progs: open the devices exclusively for writes 2024-09-17 14:33:22 +02:00
main.c btrfs-progs: unify init sequence of standalone utilities 2025-02-11 20:43:28 +01:00
Makefile btrfs-progs: build: add stub makefile to image and mkfs 2019-07-04 15:36:01 +02:00
metadump.h btrfs-progs: clean up includes 2025-01-16 19:13:26 +01:00
sanitize.c btrfs-progs: image: fix the bug that filename sanitization not working 2024-07-30 19:57:06 +02:00
sanitize.h btrfs-progs: image: update include lists 2022-10-11 09:06:12 +02:00