Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 183,201 ****
* All of the module configuration linkages required to configure
* the system call and client VFS's into the system.
*/
static struct modlinkage_big modlinkage = {
MODREV_1,
! &modlsys,
#ifdef _SYSCALL32_IMPL
&modlsys32,
#endif
&modlfs,
&modlfs2,
&modlfs3,
&modlfs4,
NULL
};
/*
* This routine is invoked automatically when the kernel module
* containing this routine is loaded. This allows module specific
--- 183,202 ----
* All of the module configuration linkages required to configure
* the system call and client VFS's into the system.
*/
static struct modlinkage_big modlinkage = {
MODREV_1,
! { &modlsys,
#ifdef _SYSCALL32_IMPL
&modlsys32,
#endif
&modlfs,
&modlfs2,
&modlfs3,
&modlfs4,
NULL
+ }
};
/*
* This routine is invoked automatically when the kernel module
* containing this routine is loaded. This allows module specific
*** 328,339 ****
/* ARGSUSED */
static int
nfsdyninit(int fstyp, char *name)
{
static const fs_operation_def_t nfsdyn_vfsops_template[] = {
! VFSNAME_MOUNTROOT, { .vfs_mountroot = nfsdyn_mountroot },
! NULL, NULL
};
int error;
error = vfs_setfsops(fstyp, nfsdyn_vfsops_template, &nfsdyn_vfsops);
if (error != 0)
--- 329,340 ----
/* ARGSUSED */
static int
nfsdyninit(int fstyp, char *name)
{
static const fs_operation_def_t nfsdyn_vfsops_template[] = {
! { VFSNAME_MOUNTROOT, { .vfs_mountroot = nfsdyn_mountroot } },
! { NULL, { NULL } }
};
int error;
error = vfs_setfsops(fstyp, nfsdyn_vfsops_template, &nfsdyn_vfsops);
if (error != 0)