X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=module%2Fzfs%2Fzfs_vfsops.c;h=77bef009bc5f11fb283049d313e04a236624848e;hb=4b1abce9f5c20e298ddaa3368b3fb6a529c71459;hp=7e4e82f5ec657b9ff4fbeb070ea9a3f7f4579fe5;hpb=60101509ee73c6e61e50c0a4079097f31bb39f4b;p=zfs.git diff --git a/module/zfs/zfs_vfsops.c b/module/zfs/zfs_vfsops.c index 7e4e82f..77bef00 100644 --- a/module/zfs/zfs_vfsops.c +++ b/module/zfs/zfs_vfsops.c @@ -561,6 +561,7 @@ unregister: return (error); } +#endif /* HAVE_ZPL */ static int zfs_space_delta_cb(dmu_object_type_t bonustype, void *data, @@ -611,6 +612,7 @@ zfs_space_delta_cb(dmu_object_type_t bonustype, void *data, return (error); } +#ifdef HAVE_ZPL static void fuidstr_to_sid(zfsvfs_t *zfsvfs, const char *fuidstr, char *domainbuf, int buflen, uid_t *ridp) @@ -2143,9 +2145,9 @@ zfs_init(void) * Initialize znode cache, vnode ops, etc... */ zfs_znode_init(); +#endif /* HAVE_ZPL */ dmu_objset_register_type(DMU_OST_ZFS, zfs_space_delta_cb); -#endif /* HAVE_ZPL */ } void