]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/nvpair/nvpair_alloc_fixed.c
Linux 4.14 compat: CONFIG_GCC_PLUGIN_RANDSTRUCT
[mirror_zfs.git] / module / nvpair / nvpair_alloc_fixed.c
index e3ac12938defeb1ed66bed920b2a4b7e05fb0467..0d4e12b972bb88788658850db001bef91e725854 100644 (file)
@@ -110,11 +110,11 @@ nv_fixed_reset(nv_alloc_t *nva)
 }
 
 const nv_alloc_ops_t nv_fixed_ops_def = {
-       nv_fixed_init,  /* nv_ao_init() */
-       NULL,           /* nv_ao_fini() */
-       nv_fixed_alloc, /* nv_ao_alloc() */
-       nv_fixed_free,  /* nv_ao_free() */
-       nv_fixed_reset  /* nv_ao_reset() */
+       .nv_ao_init = nv_fixed_init,
+       .nv_ao_fini = NULL,
+       .nv_ao_alloc = nv_fixed_alloc,
+       .nv_ao_free = nv_fixed_free,
+       .nv_ao_reset = nv_fixed_reset
 };
 
 const nv_alloc_ops_t *nv_fixed_ops = &nv_fixed_ops_def;