aboutsummaryrefslogtreecommitdiffstats
path: root/btrfs-corrupt-block.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-03btrfs-progs: clean up includes, using include-what-you-useDavid Sterba1-0/+3
2023-10-03btrfs-progs: update read_tree_block to take a btrfs_parent_tree_checkJosef Bacik1-5/+11
2023-10-03btrfs-progs: move btrfs_set_item_key_unsafe to check/Josef Bacik1-0/+1
2023-05-26btrfs-progs: replace write_and_map_eb() by write_data_to_disk()Qu Wenruo1-20/+29
2023-05-26btrfs-progs: update read_tree_block to match the kernel definitionJosef Bacik1-3/+5
2023-05-26btrfs-progs: sync file-item.h into progsJosef Bacik1-1/+2
2023-02-28btrfs-progs: corrupt-block: convert help text to option formatterDavid Sterba1-64/+54
2022-12-20btrfs-progs: corrupt-block: fix the mismatch in --root and -r optionsQu Wenruo1-1/+1
2022-11-30btrfs-progs: replace btrfs_leaf_data with btrfs_item_nr_offsetJosef Bacik1-2/+2
2022-10-11btrfs-progs: use template for transaction start error messagesDavid Sterba1-12/+22
2022-10-11btrfs-progs: use template for out of memory error messagesDavid Sterba1-3/+3
2022-10-11btrfs-progs: remove unnecessary casts for u64David Sterba1-6/+4
2022-10-11btrfs-progs: kernel-lib: remove radix-treeDavid Sterba1-2/+0
2022-10-11btrfs-progs: corrupt-block: use message helpers for error messagesDavid Sterba1-52/+44
2022-10-11btrfs-progs: factor string helpers out of utils.cDavid Sterba1-0/+1
2022-10-11btrfs-progs: update include list in standalone toolsDavid Sterba1-5/+6
2022-10-11btrfs-progs: reorder includes in standalone toolsDavid Sterba1-2/+1
2022-10-11btrfs-progs: corrupt-block: re-generate the checksum for generation corruptionQu Wenruo1-0/+2
2022-08-16btrfs-progs: corrupt-block: update help textDavid Sterba1-20/+43
2022-08-16btrfs-progs: corrupt-block: use only long options for value and offsetDavid Sterba1-8/+10
2022-08-16btrfs-progs: corrupt-block: expand corrupt_file_extentBoris Burkov1-5/+14
2022-08-16btrfs-progs: corrupt-block: corrupt generic item dataBoris Burkov1-3/+74
2022-08-16btrfs-progs: add constant for initial getopt valuesDavid Sterba1-1/+1
2022-04-25btrfs-progs: remove extent_buffer::fd and extent_buffer::dev_bytesQu Wenruo1-3/+2
2022-04-25btrfs-progs: use read_data_from_disk() to replace read_extent_from_disk() and...Qu Wenruo1-25/+7
2022-04-25btrfs-progs: don't use write_extent_to_disk() directlyQu Wenruo1-2/+2
2022-03-09btrfs-progs: remove the _nr from the item helpersJosef Bacik1-8/+8
2022-03-09btrfs-progs: add btrfs_set_item_*_nr() helpersJosef Bacik1-3/+2
2021-11-30btrfs-progs: stop accessing ->extent_root directlyJosef Bacik1-5/+8
2021-11-22btrfs-progs: stop accessing ->csum_root directlyJosef Bacik1-1/+1
2021-11-05btrfs-progs: cache csum_size and csum_type in btrfs_fs_infoQu Wenruo1-3/+3
2021-10-08btrfs-progs: libbtrfs: drop radix-tree.h from exported headersDavid Sterba1-0/+1
2021-08-25btrfs-progs: corupt-block: leave only long option for --block-groupDavid Sterba1-3/+5
2021-08-25btrfs-progs: corrupt-block: add ability to corrupt block group itemsJosef Bacik1-1/+107
2021-06-19btrfs-progs: switch %Lu to %llu formatDavid Sterba1-2/+2
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 Sterba1-1/+1
2020-08-31btrfs-progs: move disk-io.c to kernel-shared/David Sterba1-1/+1
2020-08-31btrfs-progs: move print-tree.c to kernel-shared/David Sterba1-1/+1
2020-03-04btrfs-progs: disk-io: do proper error handling in in write_and_map_eb()Qu Wenruo1-1/+8
2019-11-18btrfs-progs: corrupt-block: Refactor tree block corruption codeNikolay Borisov1-51/+59
2019-10-14btrfs-progs: add checksum type to checksumming functionsJohannes Thumshirn1-1/+2
2019-10-14btrfs-progs: corrupt-block: Fix description of 'r' optionNikolay Borisov1-1/+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 Sterba1-1/+1
2019-07-03btrfs-progs: move help.[ch] to common/David Sterba1-1/+1
2019-03-05btrfs-progs: help: don't print usage on wrong argument countsDavid Sterba1-1/+1
2018-10-31btrfs-progs: convert strerror to implicit %mDavid Sterba1-6/+6
2018-08-06btrfs-progs: Remove root argument from btrfs_del_csumsNikolay Borisov1-1/+1
2018-06-07btrfs-progs: corrupt-block: Fix -D optionNikolay Borisov1-3/+4
2018-06-07btrfs-progs: corrupt-block: Change format of -d optionNikolay Borisov1-2/+3
2018-06-07btrfs-progs: corrupt-block: Add support for handling specific root when using...Nikolay Borisov1-3/+3
2018-06-07btrfs-progs: corrupt-block: Factor out common "-r" handling codeNikolay Borisov1-10/+7
2018-06-07btrfs-progs: corrupt-block: Convert -K flag argument handling to common functionNikolay Borisov1-11/+5
2018-06-07btrfs-progs: corrupt-block: Change -I flag parameter formatNikolay Borisov1-2/+4
2018-06-07btrfs-progs: corrupt-block: Factor out key parsing functionNikolay Borisov1-0/+10
2018-06-07btrfs-progs: corrupt-block: Correctly handle -r when passing -INikolay Borisov1-1/+7
2018-06-07btrfs-progs: corrupt-block: Factor out specific-root codeNikolay Borisov1-14/+23
2018-06-07btrfs-progs: Remove fs_info parameter from btrfs_leaf_free_space()Qu Wenruo1-1/+1
2018-04-24btrfs-progs: Unify btrfs_leaf_free_space() parameter with kernelQu Wenruo1-1/+1
2017-09-08btrfs-progs: add crude error handling when transaction start failsDavid Sterba1-0/+7
2017-09-08btrfs-progs: drop blocksize argument from btrfs_find_create_tree_blockDavid Sterba1-1/+1
2017-09-08btrfs-progs: drop blocksize from read_tree_blockDavid Sterba1-3/+2
2017-07-12btrfs-progs: Refactor btrfs_num_copies to use btrfs_fs_infoQu Wenruo1-2/+2
2017-07-12btrfs-progs: Refactor btrfs_map_block and its variants to use btrfs_fs_infoQu Wenruo1-3/+2
2017-07-03btrfs-progs: Refactor read_tree_block to get rid of btrfs_rootQu Wenruo1-4/+5
2017-07-03btrfs-progs: Refactor btrfs_root paramters in btrfs-corrupt-block.cQu Wenruo1-10/+12
2017-07-03btrfs-progs: Refactor block sizes users in btrfs-corrupt-block.cQu Wenruo1-11/+10
2017-03-08btrfs-progs: corrupt-block: remove unused argument from corrupt_extentDavid Sterba1-3/+3
2017-03-08btrfs-progs: move help defines to own headerDavid Sterba1-0/+1
2017-01-25btrfs-progs: corrupt-block: Include more inode fieldsLakshmipathi.G1-0/+48
2017-01-25btrfs-progs: corrupt-block: Include inode nlink fieldLakshmipathi.G1-0/+8
2016-10-03btrfs-progs: corrupt-block: fix assertion conditionDavid Sterba1-1/+1
2016-10-03btrfs-progs: use standard allocation functions in non-kenrel codeDavid Sterba1-1/+1
2016-10-03btrfs-progs: corrupt-block: improved error handling in corrupt_item_nocowDavid Sterba1-1/+5
2016-09-05btrfs-progs: print help test to stdoutDavid Sterba1-26/+18
2016-07-15btrfs-progs: corrupt block: handle eb read and write errorsDavid Sterba1-1/+13
2016-07-15btrfs-progs: corrupt block: handle block mapping errors in debug_corrupt_blockDavid Sterba1-2/+10
2016-07-15btrfs-progs: corrupt block: pass eb as argument to debug_corrupt_blockDavid Sterba1-11/+16
2016-06-03btrfs-progs: Use new random number APIQu Wenruo1-12/+11
2016-06-01btrfs-progs: corrupt-block: Add support to corrupt extent for skinny metadataQu Wenruo1-0/+1
2016-06-01btrfs-progs: typo review of strings and commentsNicholas D Steeves1-2/+2
2016-05-02btrfs-progs: replace leafsize with nodesizeDavid Sterba1-3/+3
2016-03-14btrfs-progs: unify argc min/max checkingDavid Sterba1-2/+1
2016-03-14btrfs-progs: unify naming of argc and argvDavid Sterba1-6/+6
2016-02-26btrfs-progs: Add support for tree block operations on fs_info without rootsQu Wenruo1-1/+1
2016-01-12btrfsprogs: corrupt-blocks: include limits.h to define PATH_MAXKhem Raj1-0/+1
2015-11-13btrfs-progs: corrupt-block: use on-stack path buffer in corrupt_dir_itemDavid Sterba1-7/+1
2015-11-06btrfs-progs: simplify empty stirngs checkDavid Sterba1-4/+4
2015-09-14btrfs-progs: cleanup, mark more functions staticDavid Sterba1-5/+5
2015-08-31btrfs-progs: add newline to some error messagesTsutomu Itoh1-1/+1
2015-07-03btrfs-progs: let corrupt-block kill nbytesDavid Sterba1-0/+8
2015-06-11btrfs-progs: accept --help as option in the standalone utilitiesDavid Sterba1-16/+19
2015-05-26Btrfs-progs: corrupt-block: add the ability to remove csumsJosef Bacik1-1/+33
2015-04-08btrfs-progs: getopt, use symbolic name for argument requirementsDavid Sterba1-17/+17
2015-04-08btrfs-progs: cleanup option index argument from getopt_longDavid Sterba1-2/+1
2015-02-09Btrfs-progs: let btrfs-corrupt-block specify a rootJosef Bacik1-3/+25
2015-02-02btrfs-progs: read_tree_block() and read_node_slot() cleanup.Qu Wenruo1-3/+3
2015-01-28btrfs-progs: autoconf: use standard PACKAGE_* macrosKarel Zak1-1/+0
2015-01-27btrfs-progs: drop feature defines from C files, in favour of CFLAGS definesDimitri John Ledkov1-2/+0
2015-01-21btrfs-progs: unify getopt table terminatorsDavid Sterba1-1/+1
2015-01-19btrfs-progs: make getopt tables static constDavid Sterba1-1/+1
2015-01-19btrfs-progs: cleanup, move getop long options close to their useDavid Sterba1-22/+22
2014-12-19btrfs-progs: corrupt block, add break after option UDavid Sterba1-0/+1
2014-12-19btrfs-progs: corrupt block, add missing break to option IDavid Sterba1-0/+1
2014-11-14Btrfs-progs: add the ability to delete itemsJosef Bacik1-1/+44
2014-10-14btrfs-progs: add shift_items to btrfs-corrupt-blockJosef Bacik1-0/+27
2014-10-14btrfs-progs: corrupt btrfs items in btrfs-corrup-blockJosef Bacik1-1/+87
2014-10-14Btrfs-progs: add ability to corrupt dir itemsJosef Bacik1-1/+102
2014-09-14btrfs-progs: corrupt-block: fix a delete and use bug corrupting extent treeQu Wenruo1-3/+1
2014-08-22btrfs-progs: use check_argc_* to check arg number for all toolsGui Hecheng1-1/+2
2014-03-21Btrfs-progs: switch to arg_strtou64() part2Wang Shilong1-36/+9
2014-01-31Btrfs-progs: deal with invalid key orderings and bad orphan items V2Josef Bacik1-1/+108
2013-11-07Btrfs-progs: rework open_ctree to take flags, add a new one V2Josef Bacik1-1/+1
2013-10-16btrfs-progs: check path alloc in corrupt blockZach Brown1-2/+8
2013-10-16Btrfs-progs: add ability to corrupt metadata block fieldsJosef Bacik1-3/+117
2013-10-16Btrfs-progs: add ability to corrupt file extent disk bytenrJosef Bacik1-9/+108
2013-10-16Btrfs-progs: setup framework to corrupt specific fields of an inodeJosef Bacik1-7/+118
2013-10-16btrfs-progs: make btrfs-corrupt-block compile againDavid Sterba1-0/+1
2013-09-03btrfs-progs: drop unused parameter from btrfs_release_pathEric Sandeen1-1/+1
2013-08-09Btrfs-progs: add missing path alloc return value checkFilipe David Borba Manana1-0/+2
2013-08-09btrfs-progs: Add chunk corrupt funtion to btrfs-corrupt-blockQu Wenruo1-17/+201
2013-02-01Add basic RAID[56] supportDavid Woodhouse1-2/+3
2012-07-03Btrfs-progs, btrfs-corrupt-block: fix the wrong usageMiao Xie1-6/+8
2012-02-22btrfsck: add early code to handle corrupted block groupsChris Mason1-5/+0
2012-02-21Btrfsck: add the ability to prune corrupt extent allocation tree blocksChris Mason1-3/+68
2012-02-07btrfs-corrupt-block: add -E option to randomly corrupt the extent_rootChris Mason1-27/+105
2012-02-07btrfs-corrupt-block: add -e option to corrupt the extent recordChris Mason1-39/+76
2011-10-27btrfs-progs: add a utility to corrupt a single blockChris Mason1-0/+221