aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs/zfs_vfsops.c
diff options
context:
space:
mode:
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();