summaryrefslogtreecommitdiff
path: root/repair.c
diff options
context:
space:
mode:
authorNikolay Borisov <nborisov@suse.com>2018-05-14 14:13:32 +0300
committerDavid Sterba <dsterba@suse.com>2018-06-07 16:37:39 +0200
commit98eda1c098a5300bccc9df636948f422d130f626 (patch)
tree063ab6f4d247691647fd49920e3f3fc82ade2fd5 /repair.c
parent32acc8eed29847616f6d99d70b9dac1466e4ec4f (diff)
btrfs-progs: corrupt-block: Add support for handling specific root when using -K option
Currently the -K option supports corrupting items only in the default root (which is the root tree). This makes it impossible to test the free-space recovery (or any other) code for that matter. Fix it by using the root corresponding to the one passed in -r (if any). Signed-off-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'repair.c')
0 files changed, 0 insertions, 0 deletions