btrfs: moving and deleting sparse copies on btrfs
authorKoen De Wit <koen.de.wit@oracle.com>
Mon, 20 Jan 2014 02:56:36 +0000 (13:56 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 20 Jan 2014 02:56:36 +0000 (13:56 +1100)
commit9b48c972a9132269750235e1abc4f2904b458497
treeec51344f92fc9f1b6c540ca00b4d5bd9f0a0f614
parent890bc119748f41e595064b43cc4e947b3bba62ab
btrfs: moving and deleting sparse copies on btrfs

Moving and deleting cloned ("reflinked") files on btrfs:
   - Create a file and a reflink
   - Move both to a directory
   - Delete the original (moved) file, check that the copy still exists.

[sandeen: mostly cosmetic changes]

Signed-off-by: Koen De Wit <koen.de.wit@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
tests/btrfs/028 [new file with mode: 0644]
tests/btrfs/028.out [new file with mode: 0644]
tests/btrfs/group