Commit 2eaf551
committed
btrfs-progs: fsck-tests: a new test case for missing root orphan item
The new image is created by:
- Make btrfs_delete_subvolume() to commit transaction
So that we're sure the orphan item is committed to disk after removing
the subvolume.
- Remove the orphan item from tree root
Then use this image to make sure btrfs check can detect such problem.
Repair is not yet supported.
Reviewed-by: Boris Burkov <[email protected]>
Signed-off-by: Qu Wenruo <[email protected]>1 parent fdc1a29 commit 2eaf551
File tree
2 files changed
+14
-0
lines changed- tests/fsck-tests/066-missing-root-orphan-item
2 files changed
+14
-0
lines changedBinary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments