]> git.proxmox.com Git - mirror_zfs-debian.git/blobdiff - module/zfs/zfs_vfsops.c
Use sb->s_d_op default dentry operations
[mirror_zfs-debian.git] / module / zfs / zfs_vfsops.c
index f445242380b56ca555791fafe0ceeee8f21a4435..620e39bc2ce44a7f953d9f06ec506f956a890405 100644 (file)
@@ -1188,6 +1188,9 @@ zfs_domount(struct super_block *sb, void *data, int silent)
        sb->s_op = &zpl_super_operations;
        sb->s_xattr = zpl_xattr_handlers;
        sb->s_export_op = &zpl_export_operations;
+#ifdef HAVE_S_D_OP
+       sb->s_d_op = &zpl_dentry_operations;
+#endif /* HAVE_S_D_OP */
 
        /* Set features for file system. */
        zfs_set_fuid_feature(zsb);