diff options
author | Mark Fasheh <mfasheh@suse.de> | 2015-06-30 14:42:07 -0700 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-07-01 17:17:15 -0700 |
commit | 0efa9f48c7e6c15e75946dd2b1c82d3d19e13545 (patch) | |
tree | ec4ec4971f64f90c382f7d20d7de45e865870c3e /fs/xfs | |
parent | f441460202cb787c49963bcc1f54cb48c52f7512 (diff) | |
download | op-kernel-dev-0efa9f48c7e6c15e75946dd2b1c82d3d19e13545.zip op-kernel-dev-0efa9f48c7e6c15e75946dd2b1c82d3d19e13545.tar.gz |
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 'fs/xfs')
0 files changed, 0 insertions, 0 deletions