btrfs: add test for btrfs send issuing premature rmdir operations

Regression test for btrfs incremental send issue where a rmdir instruction
is sent against an orphan directory inode which is not empty yet, causing
btrfs receive to fail when it attempts to remove the directory.

This issue is fixed by the following linux kernel btrfs patch:

    Btrfs: fix send attempting to rmdir non-empty directories

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Filipe David Borba Manana
2014-04-04 17:16:23 +11:00
committed by Dave Chinner
parent 3bbbc25e63
commit bb2499e872
3 changed files with 151 additions and 0 deletions
+1
View File
@@ -45,3 +45,4 @@
040 auto quick
041 auto quick
042 auto quick
043 auto quick