Re: [PATCH 4/5] btrfs: allow dedupe of same inode

David Sterba
2015-06-23T14:59:56Z

On Mon, Jun 22, 2015 at 03:47:41PM -0700, Mark Fasheh wrote:
> clone() supports cloning within an inode so extent-same can do
> the same now. This patch fixes up the locking in extent-same to
> know about the single-inode case. In addition to that, we add a
> check for overlapping ranges, which clone does not allow.
>
> Signed-off-by: Mark Fasheh <mfasheh@suse.de>

Reviewed-by: David Sterba <dsterba@suse.cz>