Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 21,32 ****
/*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#include <sys/vnode.h>
#include <sys/vfs_opreg.h>
#include <sys/door.h>
#include <sys/proc.h>
--- 21,30 ----
*** 53,75 ****
struct vfs door_vfs;
struct vnodeops *door_vnodeops;
const fs_operation_def_t door_vnodeops_template[] = {
! VOPNAME_OPEN, { .vop_open = door_open },
! VOPNAME_CLOSE, { .vop_close = door_close },
! VOPNAME_GETATTR, { .vop_getattr = door_getattr },
! VOPNAME_ACCESS, { .vop_access = door_access },
! VOPNAME_INACTIVE, { .vop_inactive = door_inactive },
! VOPNAME_FRLOCK, { .error = fs_error },
! VOPNAME_REALVP, { .vop_realvp = door_realvp },
! VOPNAME_POLL, { .error = fs_error },
! 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
door_open(struct vnode **vpp, int flag, struct cred *cr, caller_context_t *ct)
--- 51,73 ----
struct vfs door_vfs;
struct vnodeops *door_vnodeops;
const fs_operation_def_t door_vnodeops_template[] = {
! { VOPNAME_OPEN, { .vop_open = door_open } },
! { VOPNAME_CLOSE, { .vop_close = door_close } },
! { VOPNAME_GETATTR, { .vop_getattr = door_getattr } },
! { VOPNAME_ACCESS, { .vop_access = door_access } },
! { VOPNAME_INACTIVE, { .vop_inactive = door_inactive } },
! { VOPNAME_FRLOCK, { .error = fs_error } },
! { VOPNAME_REALVP, { .vop_realvp = door_realvp } },
! { VOPNAME_POLL, { .error = fs_error } },
! { 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
door_open(struct vnode **vpp, int flag, struct cred *cr, caller_context_t *ct)