Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 48,70 ****
static int port_poll(vnode_t *, short, int, short *, struct pollhead **,
caller_context_t *);
static void port_inactive(struct vnode *, cred_t *, caller_context_t *);
const fs_operation_def_t port_vnodeops_template[] = {
! VOPNAME_OPEN, { .vop_open = port_open },
! VOPNAME_CLOSE, { .vop_close = port_close },
! VOPNAME_GETATTR, { .vop_getattr = port_getattr },
! VOPNAME_ACCESS, { .vop_access = port_access },
! VOPNAME_INACTIVE, { .vop_inactive = port_inactive },
! VOPNAME_FRLOCK, { .error = fs_error },
! VOPNAME_REALVP, { .vop_realvp = port_realvp },
! VOPNAME_POLL, { .vop_poll = port_poll },
! VOPNAME_PATHCONF, { .error = fs_error },
! VOPNAME_DISPOSE, { .error = fs_error },
! VOPNAME_GETSECATTR, { .error = fs_error },
! VOPNAME_SHRLOCK, { .error = fs_error },
! NULL, NULL
};
/* ARGSUSED */
static int
port_open(struct vnode **vpp, int flag, cred_t *cr, caller_context_t *ct)
--- 48,70 ----
static int port_poll(vnode_t *, short, int, short *, struct pollhead **,
caller_context_t *);
static void port_inactive(struct vnode *, cred_t *, caller_context_t *);
const fs_operation_def_t port_vnodeops_template[] = {
! { VOPNAME_OPEN, { .vop_open = port_open } },
! { VOPNAME_CLOSE, { .vop_close = port_close } },
! { VOPNAME_GETATTR, { .vop_getattr = port_getattr } },
! { VOPNAME_ACCESS, { .vop_access = port_access } },
! { VOPNAME_INACTIVE, { .vop_inactive = port_inactive } },
! { VOPNAME_FRLOCK, { .error = fs_error } },
! { VOPNAME_REALVP, { .vop_realvp = port_realvp } },
! { VOPNAME_POLL, { .vop_poll = port_poll } },
! { VOPNAME_PATHCONF, { .error = fs_error } },
! { VOPNAME_DISPOSE, { .error = fs_error } },
! { VOPNAME_GETSECATTR, { .error = fs_error } },
! { VOPNAME_SHRLOCK, { .error = fs_error } },
! { NULL, { NULL } }
};
/* ARGSUSED */
static int
port_open(struct vnode **vpp, int flag, cred_t *cr, caller_context_t *ct)