Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 157,167 ****
static struct modlfs modlfs = {
&mod_fsops, "filesystem for HSFS", &vfw
};
static struct modlinkage modlinkage = {
! MODREV_1, (void *)&modlfs, NULL
};
extern void hsched_init_caches(void);
extern void hsched_fini_caches(void);
--- 157,167 ----
static struct modlfs modlfs = {
&mod_fsops, "filesystem for HSFS", &vfw
};
static struct modlinkage modlinkage = {
! MODREV_1, { (void *)&modlfs, NULL }
};
extern void hsched_init_caches(void);
extern void hsched_fini_caches(void);
*** 248,264 ****
static int
hsfsinit(int fstype, char *name)
{
static const fs_operation_def_t hsfs_vfsops_template[] = {
! VFSNAME_MOUNT, { .vfs_mount = hsfs_mount },
! VFSNAME_UNMOUNT, { .vfs_unmount = hsfs_unmount },
! VFSNAME_ROOT, { .vfs_root = hsfs_root },
! VFSNAME_STATVFS, { .vfs_statvfs = hsfs_statvfs },
! VFSNAME_VGET, { .vfs_vget = hsfs_vget },
! VFSNAME_MOUNTROOT, { .vfs_mountroot = hsfs_mountroot },
! NULL, NULL
};
int error;
error = vfs_setfsops(fstype, hsfs_vfsops_template, NULL);
if (error != 0) {
--- 248,264 ----
static int
hsfsinit(int fstype, char *name)
{
static const fs_operation_def_t hsfs_vfsops_template[] = {
! { VFSNAME_MOUNT, { .vfs_mount = hsfs_mount } },
! { VFSNAME_UNMOUNT, { .vfs_unmount = hsfs_unmount } },
! { VFSNAME_ROOT, { .vfs_root = hsfs_root } },
! { VFSNAME_STATVFS, { .vfs_statvfs = hsfs_statvfs } },
! { VFSNAME_VGET, { .vfs_vget = hsfs_vget } },
! { VFSNAME_MOUNTROOT, { .vfs_mountroot = hsfs_mountroot } },
! { NULL, { NULL } }
};
int error;
error = vfs_setfsops(fstype, hsfs_vfsops_template, NULL);
if (error != 0) {