On Fri, Apr 27, 2018 at 05:02:45PM +0900, Misono Tomohiro wrote: > Add btrfs test that checks "rmdir" or "rm -r" command can delete a > subvolume like an ordinary drectory. > > This behavior has been restricted long time but becomes allowed by > following patch in the kernel: > btrfs: Allow rmdir(2) to delete an empty subvolume AFAICS this test will fail on older kernels, eg. stable versions, but this is not a bug that needs to be fixed by backporting patches. The usual way is to use the expunges, but as this is a feature coverage, I think the test should detect if the kernel has the feature at all. Similar to the fallocate modes etc. For the test itself, the scenarios look sufficient, so Reviewed-by: David Sterba <dsterba@xxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html