diff options
author | Mark Fasheh <mfasheh@suse.de> | 2015-07-01 00:42:07 +0300 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-07-02 03:17:15 +0300 |
commit | 0efa9f48c7e6c15e75946dd2b1c82d3d19e13545 (patch) | |
tree | ec4ec4971f64f90c382f7d20d7de45e865870c3e /mm | |
parent | f441460202cb787c49963bcc1f54cb48c52f7512 (diff) | |
download | linux-0efa9f48c7e6c15e75946dd2b1c82d3d19e13545.tar.xz |
btrfs: allow dedupe of same inode
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>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions