mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 11:18:52 +03:00
config: remove HAVE_VFS_FILE_OPERATIONS_EXTEND
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:
committed by
Brian Behlendorf
parent
9914684d36
commit
230bc538cb
@@ -1126,12 +1126,7 @@ const struct address_space_operations zpl_address_space_operations = {
|
||||
#endif
|
||||
};
|
||||
|
||||
#ifdef HAVE_VFS_FILE_OPERATIONS_EXTEND
|
||||
const struct file_operations_extend zpl_file_operations = {
|
||||
.kabi_fops = {
|
||||
#else
|
||||
const struct file_operations zpl_file_operations = {
|
||||
#endif
|
||||
.open = zpl_open,
|
||||
.release = zpl_release,
|
||||
.llseek = zpl_llseek,
|
||||
@@ -1170,11 +1165,6 @@ const struct file_operations zpl_file_operations = {
|
||||
#ifdef CONFIG_COMPAT
|
||||
.compat_ioctl = zpl_compat_ioctl,
|
||||
#endif
|
||||
#ifdef HAVE_VFS_FILE_OPERATIONS_EXTEND
|
||||
}, /* kabi_fops */
|
||||
.copy_file_range = zpl_copy_file_range,
|
||||
.clone_file_range = zpl_clone_file_range,
|
||||
#endif
|
||||
};
|
||||
|
||||
const struct file_operations zpl_dir_file_operations = {
|
||||
|
||||
Reference in New Issue
Block a user