diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-05-14 14:13:34 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-06-07 16:37:39 +0200 |
commit | 6fc1edc4c03fd4e9dc3e6cb6b025ab10bb933198 (patch) | |
tree | d73c6c958247461e820ff3efed3f27ef005bf38b /tests/scan-results.sh | |
parent | f1404df7d1fe6193ec9e9901db4b4c3645781fdc (diff) |
btrfs-progs: corrupt-block: Fix -D option
Currently the -D option is essentially defunct since it's the root,
where we are going to corrupt a dir item is always set to the tree
root. Fix this by passing the root from the "-r" option. Aditionally
convert the interface for this option to the new format. So if one
wants to corrupt a dir item in the default fs tree, they should now
invoke:
btrfs-corrupt-block -r 5 -D <objectid,DIR_ITEM,offset> -f name
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/scan-results.sh')
0 files changed, 0 insertions, 0 deletions