aboutsummaryrefslogtreecommitdiffstats
path: root/module/os/linux/zfs/zfs_znode.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/os/linux/zfs/zfs_znode.c')
-rw-r--r--module/os/linux/zfs/zfs_znode.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/module/os/linux/zfs/zfs_znode.c b/module/os/linux/zfs/zfs_znode.c
index bc01faed1..7f031d16f 100644
--- a/module/os/linux/zfs/zfs_znode.c
+++ b/module/os/linux/zfs/zfs_znode.c
@@ -420,12 +420,7 @@ zfs_inode_set_ops(zfsvfs_t *zfsvfs, struct inode *ip)
break;
case S_IFDIR:
-#ifdef HAVE_RENAME2_OPERATIONS_WRAPPER
- ip->i_flags |= S_IOPS_WRAPPER;
- ip->i_op = &zpl_dir_inode_operations.ops;
-#else
ip->i_op = &zpl_dir_inode_operations;
-#endif
ip->i_fop = &zpl_dir_file_operations;
ITOZ(ip)->z_zn_prefetch = B_TRUE;
break;