btrfs/012: add a regression test for deleting ext2_saved
authorLiu Bo <bo.li.liu@oracle.com>
Mon, 2 Nov 2015 00:00:48 +0000 (11:00 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 2 Nov 2015 00:00:48 +0000 (11:00 +1100)
commit17f7ca2c115e6fa366e7214c80537551720d2970
treeec1cbcdc8b22fdf6564ee163dd1b4d121a8e11b0
parent8c947974a2439e2e07fcf7770a9c0c3a7548f4c8
btrfs/012: add a regression test for deleting ext2_saved

Btrfs now has changed to delete subvolume/snapshot asynchronously,
which means that after umount, if we've already deleted 'ext2_saved',
rollback can still be completed, which should not.

So this adds a regression test for this.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/012