btrfs: incremental send after removing a directory

Test that, under a particular scenario, an incremental send
operation does not leak memory (which used to emit a warning in
dmesg/syslog).

This is a regression test for a btrfs kernel fix that has the title:
"Btrfs: send, fix warning due to late freeing of orphan_dir_info
structures".

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Filipe Manana
2016-07-02 13:32:38 +01:00
committed by Eryu Guan
parent baa017a14b
commit b7dd83b9fa
3 changed files with 132 additions and 0 deletions
+1
View File
@@ -130,3 +130,4 @@
125 auto replace
126 auto quick qgroup
127 auto quick send
128 auto quick send