]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: add test for btrfs send issuing premature rmdir operations
authorFilipe David Borba Manana <fdmanana@gmail.com>
Fri, 4 Apr 2014 06:16:23 +0000 (17:16 +1100)
committerDave Chinner <david@fromorbit.com>
Fri, 4 Apr 2014 06:16:23 +0000 (17:16 +1100)
commitbb2499e872a09feedbdda7bc2912b348d8c1a1f3
treeb03f73944474e7c276b9a68733c58c4a1f4a68c2
parent3bbbc25e632ce39d4db4a6e688b86b122228ee8a
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>
tests/btrfs/043 [new file with mode: 0644]
tests/btrfs/043.out [new file with mode: 0644]
tests/btrfs/group