aboutsummaryrefslogtreecommitdiffstats
path: root/image
AgeCommit message (Expand)AuthorFilesLines
2023-10-10btrfs-progs: fix all variable shadowingQu Wenruo1-6/+4
2023-10-03btrfs-progs: clean up includes, using include-what-you-useDavid Sterba6-21/+66
2023-10-03btrfs-progs: update read_tree_block to take a btrfs_parent_tree_checkJosef Bacik3-6/+11
2023-10-03btrfs-progs: drop btrfs_init_pathJosef Bacik3-9/+4
2023-08-28btrfs-progs: image: factor out the restore part from main.cDavid Sterba5-2080/+2120
2023-08-28btrfs-progs: image: factor out the create part from main.cDavid Sterba5-881/+943
2023-08-28btrfs-progs: image: move defintions from main.c to headerDavid Sterba2-84/+86
2023-07-26btrfs-progs: rename struct open_ctree_flags to open_ctree_argsAnand Jain1-8/+8
2023-06-08btrfs-progs: image: convert int to bool in a few helpersDavid Sterba2-9/+9
2023-05-26btrfs-progs: sync tree-checker.[ch] from kernelJosef Bacik1-5/+9
2023-05-26btrfs-progs: update read_tree_block to match the kernel definitionJosef Bacik1-5/+6
2023-05-26btrfs-progs: sync extent-io-tree.[ch] and misc.h from the kernelJosef Bacik1-4/+5
2023-05-26btrfs-progs: sync file-item.h into progsJosef Bacik1-0/+1
2023-05-26btrfs-progs: sync uapi/btrfs.h into btrfs-progsJosef Bacik1-1/+1
2023-05-26btrfs-progs: introduce UASSERT() for purely userspace codeJosef Bacik1-1/+1
2023-04-25btrfs-progs: stop using legacy *64 interfacespsykose1-7/+7
2023-02-28btrfs-progs: open code print_usage where applicableDavid Sterba1-9/+4
2023-02-28btrfs-progs: make usage call properly return an exit valueQu Wenruo1-2/+1
2023-02-28btrfs-progs: crypto: add common function for accelerated initializationDavid Sterba1-3/+5
2023-02-18btrfs-progs: fix set but not used variablesQu Wenruo1-3/+0
2023-02-18btrfs-progs: move a union with variable sized type to the endQu Wenruo1-5/+5
2023-02-18btrfs-progs: fix fallthrough cases with proper attributesQu Wenruo1-1/+1
2023-02-18btrfs-progs: image: use help and cmd_struct for printing help textDavid Sterba1-12/+25
2022-11-30btrfs-progs: replace btrfs_leaf_data with btrfs_item_nr_offsetJosef Bacik1-4/+4
2022-11-28btrfs-progs: image: rename BLOCK_* to IMAGE_BLOCK_* for metadumpJosef Bacik2-24/+24
2022-10-20btrfs-progs: warn when an experimental functionality is usedDavid Sterba1-0/+1
2022-10-11btrfs-progs: device-utils: rename btrfs_device_sizeDavid Sterba1-1/+1
2022-10-11btrfs-progs: use template for transaction commit error messagesDavid Sterba1-1/+2
2022-10-11btrfs-progs: use template for transaction start error messagesDavid Sterba1-2/+4
2022-10-11btrfs-progs: use template for out of memory error messagesDavid Sterba2-17/+17
2022-10-11btrfs-progs: remove unnecessary casts for u64David Sterba1-16/+9
2022-10-11btrfs-progs: factor string helpers out of utils.cDavid Sterba1-0/+1
2022-10-11btrfs-progs: image: update include listsDavid Sterba3-3/+20
2022-10-11btrfs-progs: image: reorder includesDavid Sterba2-9/+8
2022-08-16btrfs-progs: avoid repeated data write for metadataQu Wenruo1-1/+1
2022-04-25btrfs-progs: use read_data_from_disk() to replace read_extent_from_disk() and...Qu Wenruo1-1/+1
2022-03-09btrfs-progs: make all of the item/key_ptr offset helpers take an ebJosef Bacik1-2/+2
2022-03-09btrfs-progs: remove the _nr from the item helpersJosef Bacik2-12/+12
2022-03-09btrfs-progs: change btrfs_file_extent_inline_item_len to take a slotJosef Bacik1-3/+1
2022-03-09btrfs-progs: add btrfs_set_item_*_nr() helpersJosef Bacik1-5/+2
2022-03-09btrfs-progs: btrfs_item_size_nr/btrfs_item_offset_nr everywhereJosef Bacik1-1/+1
2021-11-30btrfs-progs: stop accessing ->extent_root directlyJosef Bacik1-1/+1
2021-11-22btrfs-progs: image: keep track of seen blocks when walking treesJosef Bacik1-0/+12
2021-11-05btrfs-progs: remove temporary buffer for super blockQu Wenruo1-8/+6
2021-11-05btrfs-progs: fix printf formats on 32bit x86Qu Wenruo1-1/+1
2021-09-20btrfs-progs: introduce OPEN_CTREE_ALLOW_TRANSID_MISMATCH flagQu Wenruo1-4/+7
2021-08-25btrfs-progs: image: fix restored image size misalignmentQu Wenruo1-0/+6
2021-08-25btrfs-progs: image: reduce memory requirements for decompressionQu Wenruo1-76/+146
2021-08-25btrfs-progs: image: introduce -d option to dump dataQu Wenruo1-11/+49
2021-08-25btrfs-progs: image: introduce framework for more dump versionsQu Wenruo2-11/+73
2021-05-06btrfs-progs: image: enlarge output file if no tree modification is needed for...Qu Wenruo1-0/+45
2021-05-06btrfs-progs: image: remove the dead stat() call in metadumpQu Wenruo1-8/+0
2021-05-06btrfs-progs: split open/close helpers from utils.cDavid Sterba1-0/+1
2021-03-24btrfs-progs: factor open_ctree parameters to a structureDavid Sterba1-7/+9
2020-12-16btrfs-progs: image: fix invalid size check for extent itemsJosef Bacik1-1/+1
2020-08-31btrfs-progs: move volumes.c to kernel-shared/David Sterba1-1/+1
2020-08-31btrfs-progs: move transaction.c to kernel-shared/David Sterba1-1/+1
2020-08-31btrfs-progs: move ctree.c to kernel-shared/David Sterba2-2/+2
2020-08-31btrfs-progs: move disk-io.c to kernel-shared/David Sterba1-1/+1
2020-08-31btrfs-progs: move extent_io.c to kernel-shared/David Sterba2-2/+2
2020-08-31btrfs-progs: move extent-cache.c to common/David Sterba1-1/+1
2020-05-29btrfs-progs: image: pin down log tree blocks before fixupQu Wenruo1-0/+64
2020-05-29btrfs-progs: image: Don't modify the chunk and device tree if the source dump...Qu Wenruo1-1/+19
2020-05-11btrfs-progs: rename btrfs_block_group_cache to btrfs_block_groupQu Wenruo1-1/+1
2020-03-31btrfs-progs: lots of typo fixes (codespell)Adam Borowski1-1/+1
2020-03-03btrfs-progs: reform block groups caches structureSu Yue1-3/+2
2020-03-03btrfs-progs: pass @trans to functions working with dirty block groupsSu Yue1-2/+3
2019-11-18btrfs-progs: Replace btrfs_block_group_cache::item with dedicated membersQu Wenruo1-1/+0
2019-11-18btrfs-progs: image: Rework how we search chunk tree blocksQu Wenruo1-99/+112
2019-11-18btrfs-progs: image: determine if a tree block is in the range of system chunksQu Wenruo1-0/+47
2019-11-18btrfs-progs: image: Allow restore to record system chunk ranges for later usageQu Wenruo1-0/+102
2019-11-18btrfs-progs: image: Don't waste memory when we're just extracting super blockQu Wenruo1-4/+9
2019-11-18btrfs-progs: image: Fix error output to show correct return valueQu Wenruo1-1/+1
2019-11-18btrfs-progs: image: Output error message for chunk tree build errorQu Wenruo1-1/+3
2019-11-18btrfs-progs: move crc32c implementation to crypto/Johannes Thumshirn2-2/+2
2019-10-14btrfs-progs: add table for checksum type and nameJohannes Thumshirn1-2/+3
2019-10-14btrfs-progs: pass checksum type to btrfs_csum_data()/btrfs_csum_final()Johannes Thumshirn1-1/+1
2019-07-04btrfs-progs: build: add stub makefile to image and mkfsDavid Sterba1-0/+7
2019-07-04btrfs-progs: build most common tools into one binary (busybox style)David Sterba1-1/+2
2019-07-04btrfs-progs: utils: split device handling functions to own fileDavid Sterba1-0/+1
2019-07-03btrfs-progs: build: drop kernel-lib from -I and update pathsDavid Sterba1-1/+1
2019-07-03btrfs-progs: move utils.[ch] to common/David Sterba2-2/+2
2019-07-03btrfs-progs: move help.[ch] to common/David Sterba1-1/+1
2019-07-03btrfs-progs: move messages.[ch] to common/David Sterba1-1/+1
2019-07-03btrfs-progs: move internal.h to common/David Sterba1-1/+1
2019-06-14btrfs-progs: image: Verify the superblock before restoreQu Wenruo1-0/+5
2019-06-14btrfs-progs: image: Fix a access-beyond-boundary bug when there are 32 online...Qu Wenruo1-0/+1
2019-06-14btrfs-progs: image: Fix a indent misalignQu Wenruo1-1/+1
2019-06-14btrfs-progs: image: Use SZ_* to replace intermediate sizeQu Wenruo1-2/+2
2019-06-05btrfs-progs: Cleanup BTRFS_COMPAT_EXTENT_TREE_V0Qu Wenruo1-58/+1
2019-01-15btrfs-progs: image: Only enlarge result image if it's a regular fileQu Wenruo1-3/+11
2019-01-15btrfs-progs: image: Use correct device size when restoringQu Wenruo1-7/+48
2018-12-06btrfs-progs: Add support for metadata_uuid fieldNikolay Borisov1-9/+16
2018-12-05btrfs-progs: image: Remove all existing dev extents for later rebuildQu Wenruo1-0/+105
2018-12-05btrfs-progs: image: Fix block group item flags when restoring multi-device im...Qu Wenruo1-0/+46
2018-12-05btrfs-progs: image: Refactor fixup_devices() to fixup_chunks_and_devices()Qu Wenruo1-15/+35
2018-11-26btrfs-progs: fix typos in user-visible stringsJosh Soref1-1/+1
2018-11-26btrfs-progs: fix typos in commentsJosh Soref1-1/+1
2018-10-31btrfs-progs: convert strerror to implicit %mDavid Sterba1-9/+14
2018-10-31btrfs-progs: image: Warn about log tree generation mismatch when restoringQu Wenruo1-0/+4
2018-03-30btrfs-progs: convert: Fix offset-by-one error in read_data_extent()Qu Wenruo1-1/+1
2018-03-30btrfs-progs: remove BTRFS_CRC32_SIZE definitionMisono, Tomohiro1-2/+2
2018-01-31btrfs-progs: treewide: Replace strerror(errno) with %m.Rosen Penev1-35/+25
2017-11-14btrfs-progs: image: move sanitization to new fileDavid Sterba3-392/+479
2017-11-14btrfs-progs: image: pass sanitize mode and name tree separately to sanitize_nameDavid Sterba1-9/+8
2017-11-14btrfs-progs: image: pass sanitize mode and name tree separately to sanitize_d...David Sterba1-6/+6
2017-11-14btrfs-progs: image: pass sanitize mode and name tree separately to sanitize_i...David Sterba1-7/+10
2017-11-14btrfs-progs: image: drop unused parameter from sanitize_xattrDavid Sterba1-3/+2
2017-11-14btrfs-progs: image: pass rb_root to find_collisionsDavid Sterba1-5/+5
2017-11-14btrfs-progs: image: introduce symbolic names for the sanitization modesDavid Sterba2-11/+29
2017-11-14btrfs-progs: image: start a new header for sanitization functionsDavid Sterba2-7/+31
2017-11-14btrfs-progs: image: move metadump definitions to own headerDavid Sterba2-45/+71
2017-09-25btrfs-progs: image: use CRC32C reversing instead of brute force to find colli...Piotr Pawlow1-3/+12
2017-09-25btrfs-progs: image: add a function to check if generated filename suffix is v...Piotr Pawlow1-0/+16
2017-09-25btrfs-progs: image: add a function to calculate CRC32C collisionsPiotr Pawlow1-0/+23
2017-09-25btrfs-progs: image: add reverse CRC32C tablePiotr Pawlow1-0/+69
2017-09-25btrfs-progs: image: move core find_collision code to a separate functionPiotr Pawlow1-33/+42
2017-09-25btrfs-progs: image: fix non-printable characters in generated file namesPiotr Pawlow1-2/+2
2017-09-08btrfs-progs: drop blocksize argument from readahead_tree_blockDavid Sterba1-1/+1
2017-09-08btrfs-progs: drop blocksize from read_tree_blockDavid Sterba1-6/+3
2017-09-08btrfs-progs: drop local blocksize variables if they're nodesizeDavid Sterba1-2/+3
2017-07-20btrfs-progs: image: fix typos in messagesAdam Buchbinder1-5/+5
2017-07-20btrfs-progs: image: Fix data races when reporting progressAdam Buchbinder1-2/+4
2017-07-12btrfs-progs: Refactor btrfs_readahead_tree_block to use btrfs_fs_infoQu Wenruo1-1/+1
2017-07-12btrfs-progs: Refactor read_extent_data to use btrfs_fs_infoQu Wenruo1-1/+2
2017-07-12btrfs-progs: Refactor btrfs_num_copies to use btrfs_fs_infoQu Wenruo1-2/+1
2017-07-03btrfs-progs: Refactor read_tree_block to get rid of btrfs_rootQu Wenruo1-6/+8
2017-07-03btrfs-progs: Refactor nodesize users in image/main.cQu Wenruo1-5/+8
2017-06-26btrfs-progs: Fix restoring image from multi devices fs into single deviceFilipe Manana1-0/+1
2017-03-08btrfs-progs: image: remove unused argument from copy_log_treesDavid Sterba1-3/+2
2017-03-08btrfs-progs: move help defines to own headerDavid Sterba1-0/+1
2017-01-25btrfs-progs: sanitize - Use correct source for memcpyGoldwyn Rodrigues1-1/+1
2017-01-25btrfs-progs: Fix spelling/typos in user-facing stringsNicholas D Steeves1-1/+1
2016-12-14btrfs-progs: remove extra newline from messagesDavid Sterba1-3/+3
2016-11-24btrfs-progs: move btrfs-image sources to own directoryDavid Sterba1-0/+2929