btrfs: incremental send after replacing a top level inode
authorFilipe Manana <fdmanana@suse.com>
Thu, 12 Jan 2017 03:13:13 +0000 (03:13 +0000)
committerEryu Guan <eguan@redhat.com>
Fri, 20 Jan 2017 12:05:56 +0000 (20:05 +0800)
commit6fc65f42eb9b1c32d156f78127e5ab702695d80a
tree3c77a9391c9385e7162bfaa6fc93bd0c8aedbe12
parent9b80c46ed0d3c892591ee3004ba9d8283f7e400b
btrfs: incremental send after replacing a top level inode

Test that an incremental send operation does not fail when a new
inode replaces an old inode that has the same number but different
generation, and both are direct children of the subvolume/snapshot
root.

This is fixed by the following patch for the linux kernel:

  "Btrfs: send, fix failure to rename top level inode due to name
   collision"

Signed-off-by: Robbie Ko <robbieko@synology.com>
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/133 [new file with mode: 0755]
tests/btrfs/133.out [new file with mode: 0644]
tests/btrfs/group