config: remove HAVE_VFS_COPY_FILE_RANGE

Sponsored-by: https://despairlabs.com/sponsor/
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Tino Reichardt <milky-zfs@mcmilk.de>
Signed-off-by: Rob Norris <robn@despairlabs.com>
Closes #16479
This commit is contained in:
Rob Norris
2024-08-16 17:35:47 +10:00
committed by Brian Behlendorf
parent 432f6e9eec
commit df35eab0bf
4 changed files with 0 additions and 36 deletions
-2
View File
@@ -1146,9 +1146,7 @@ const struct file_operations zpl_file_operations = {
.aio_fsync = zpl_aio_fsync,
#endif
.fallocate = zpl_fallocate,
#ifdef HAVE_VFS_COPY_FILE_RANGE
.copy_file_range = zpl_copy_file_range,
#endif
#ifdef HAVE_VFS_CLONE_FILE_RANGE
.clone_file_range = zpl_clone_file_range,
#endif
-2
View File
@@ -83,7 +83,6 @@ zpl_clone_file_range_impl(struct file *src_file, loff_t src_off,
return ((ssize_t)len_o);
}
#if defined(HAVE_VFS_COPY_FILE_RANGE)
/*
* Entry point for copy_file_range(). Copy len bytes from src_off in src_file
* to dst_off in dst_file. We are permitted to do this however we like, so we
@@ -133,7 +132,6 @@ zpl_copy_file_range(struct file *src_file, loff_t src_off,
return (ret);
}
#endif /* HAVE_VFS_COPY_FILE_RANGE */
#ifdef HAVE_VFS_REMAP_FILE_RANGE
/*