From f82a9901b0321feb4b4dea1583c51bd75707dd4e Mon Sep 17 00:00:00 2001 From: Filipe Manana Date: Sun, 1 Jun 2014 01:50:28 +0100 Subject: [PATCH] Btrfs: fix clone to deal with holes when NO_HOLES feature is enabled If the NO_HOLES feature is enabled holes don't have file extent items in the btree that represent them anymore. This made the clone operation ignore the gaps that exist between consecutive file extent items and therefore not create the holes at the destination. When not using the NO_HOLES feature, the holes were created at the destination. A test case for xfstests follows. Signed-off-by: Filipe David Borba Manana Reviewed-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-format-patch failed