btrfs: regression test for subvol deletion after rename

Test removal of a subvolume via rmdir after it has been renamed into a
snapshot of the volume that originally contained the subvolume
reference.

This currently fails on btrfs but is fixed by the patch with the title

  "btrfs: fix invalid removal of root ref"

Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Josef Bacik
2019-12-20 09:40:24 -05:00
committed by Eryu Guan
parent c4802d4a53
commit 6458922bb5
3 changed files with 62 additions and 0 deletions
+1
View File
@@ -204,3 +204,4 @@
199 auto quick trim
200 auto quick send clone
201 auto quick punch log
202 auto quick subvol snapshot