Print this page
cstyle sort of updates
7127 remove -Wno-missing-braces from Makefile.uts
@@ -73,20 +73,20 @@
static int swap_putapage(struct vnode *vp, page_t *pp, u_offset_t *off,
size_t *lenp, int flags, struct cred *cr);
const fs_operation_def_t swap_vnodeops_template[] = {
- VOPNAME_INACTIVE, { .vop_inactive = swap_inactive },
- VOPNAME_GETPAGE, { .vop_getpage = swap_getpage },
- VOPNAME_PUTPAGE, { .vop_putpage = swap_putpage },
- VOPNAME_DISPOSE, { .vop_dispose = swap_dispose },
- VOPNAME_SETFL, { .error = fs_error },
- VOPNAME_POLL, { .error = fs_error },
- VOPNAME_PATHCONF, { .error = fs_error },
- VOPNAME_GETSECATTR, { .error = fs_error },
- VOPNAME_SHRLOCK, { .error = fs_error },
- NULL, NULL
+ {VOPNAME_INACTIVE, { .vop_inactive = swap_inactive }},
+ {VOPNAME_GETPAGE, { .vop_getpage = swap_getpage }},
+ {VOPNAME_PUTPAGE, { .vop_putpage = swap_putpage }},
+ {VOPNAME_DISPOSE, { .vop_dispose = swap_dispose }},
+ {VOPNAME_SETFL, { .error = fs_error }},
+ {VOPNAME_POLL, { .error = fs_error }},
+ {VOPNAME_PATHCONF, { .error = fs_error }},
+ {VOPNAME_GETSECATTR, { .error = fs_error }},
+ {VOPNAME_SHRLOCK, { .error = fs_error }},
+ {NULL, {NULL}}
};
vnodeops_t *swap_vnodeops;
/* ARGSUSED */