Btrfs-progs: add ability to corrupt dir items
authorJosef Bacik <jbacik@fb.com>
Fri, 10 Oct 2014 20:57:16 +0000 (16:57 -0400)
committerDavid Sterba <dsterba@suse.cz>
Tue, 14 Oct 2014 08:52:05 +0000 (10:52 +0200)
commit912014bcb24491031cf7a1dddce39fae17518397
tree791aff4eb5d0818c580433ad3e593f46581f3b98
parentc2e686d76a310623495c63b2e3dd8b5ec8bab194
Btrfs-progs: add ability to corrupt dir items

In order to test the dir index corruption fixing patches in fsck we need to add
functionality to btrfs-corrupt-block to corrupt dir item fields.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfs-corrupt-block.c