diff options
author | Darrick J. Wong <darrick.wong@oracle.com> | 2015-12-19 00:56:05 -0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-01-01 02:36:40 -0500 |
commit | 2b3909f8a7fe94e0234850aa9d120cca15b6e1f7 (patch) | |
tree | 9ad24932c95317d902220e413d402bb3ea792e91 /fs/btrfs/file.c | |
parent | 54dbc15172375641ef03399e8f911d7165eb90fb (diff) | |
download | op-kernel-dev-2b3909f8a7fe94e0234850aa9d120cca15b6e1f7.zip op-kernel-dev-2b3909f8a7fe94e0234850aa9d120cca15b6e1f7.tar.gz |
btrfs: use new dedupe data function pointer
Now that the VFS encapsulates the dedupe ioctl, wire up btrfs to it.
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index 232e300..d012e0a 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -2926,6 +2926,7 @@ const struct file_operations btrfs_file_operations = { #endif .copy_file_range = btrfs_copy_file_range, .clone_file_range = btrfs_clone_file_range, + .dedupe_file_range = btrfs_dedupe_file_range, }; void btrfs_auto_defrag_exit(void) |