btrfs: test incremental send after renaming and linking file
authorFilipe Manana <fdmanana@suse.com>
Wed, 7 Jun 2017 15:36:31 +0000 (16:36 +0100)
committerEryu Guan <eguan@redhat.com>
Thu, 8 Jun 2017 05:09:54 +0000 (13:09 +0800)
commit034744b823858c611607d0328aee4d5f01b59cec
tree12c12df855fcd2668b9bbb08cf66760037558b56
parent1cc2487f501fcdf277fbc0c2c3aa9300836e2f82
btrfs: test incremental send after renaming and linking file

Test that an incremental send operation works correctly when an inode A
is renamed, a new hard link added to it and some other inode B is renamed
to the old name of inode A.

The btrfs bug is fixed by the following patch for the linux kernel:

  "Btrfs: send, fix invalid path after renaming and linking file"

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/btrfs/144 [new file with mode: 0755]
tests/btrfs/144.out [new file with mode: 0644]
tests/btrfs/group