aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs/zfs_vfsops.c
diff options
context:
space:
mode:
authorRob Norris <[email protected]>2024-08-05 19:53:26 +1000
committerBrian Behlendorf <[email protected]>2024-09-18 11:23:50 -0700
commit230bc538cb56a2d605ca6d916cdd0a134b8a56d1 (patch)
tree09a5b575927f2b171ef08b34be8a9a61c4227eec /module/os/linux/zfs/zfs_vfsops.c
parent9914684d361ee5393d858b4da577037bec50a57c (diff)
config: remove HAVE_VFS_FILE_OPERATIONS_EXTEND
Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Tino Reichardt <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16479
Diffstat (limited to 'module/os/linux/zfs/zfs_vfsops.c')
-rw-r--r--module/os/linux/zfs/zfs_vfsops.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/module/os/linux/zfs/zfs_vfsops.c b/module/os/linux/zfs/zfs_vfsops.c
index 44275e7b9..9d695a50c 100644
--- a/module/os/linux/zfs/zfs_vfsops.c
+++ b/module/os/linux/zfs/zfs_vfsops.c
@@ -2027,9 +2027,6 @@ zfs_init(void)
zfs_znode_init();
dmu_objset_register_type(DMU_OST_ZFS, zpl_get_file_info);
register_filesystem(&zpl_fs_type);
-#ifdef HAVE_VFS_FILE_OPERATIONS_EXTEND
- register_fo_extend(&zpl_file_operations);
-#endif
}
void
@@ -2040,9 +2037,6 @@ zfs_fini(void)
*/
taskq_wait(system_delay_taskq);
taskq_wait(system_taskq);
-#ifdef HAVE_VFS_FILE_OPERATIONS_EXTEND
- unregister_fo_extend(&zpl_file_operations);
-#endif
unregister_filesystem(&zpl_fs_type);
zfs_znode_fini();
zfsctl_fini();