SCCS-vsn: sys/kern/vfs_subr.c 7.82
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)vfs_subr.c 7.81 (Berkeley) %G%
+ * @(#)vfs_subr.c 7.82 (Berkeley) %G%
struct ucred *cred;
struct proc *p;
{
struct ucred *cred;
struct proc *p;
{
- USES_VOP_BWRITE;
- USES_VOP_FSYNC;
register struct buf *bp;
struct buf *nbp, *blist;
int s, error;
register struct buf *bp;
struct buf *nbp, *blist;
int s, error;
dev_t nvp_rdev;
struct mount *mp;
{
dev_t nvp_rdev;
struct mount *mp;
{
register struct vnode *vp;
struct vnode **vpp;
register struct vnode *vp;
struct vnode **vpp;
vget(vp)
register struct vnode *vp;
{
vget(vp)
register struct vnode *vp;
{
register struct vnode *vq;
if (vp->v_flag & VXLOCK) {
register struct vnode *vq;
if (vp->v_flag & VXLOCK) {
void vput(vp)
register struct vnode *vp;
{
void vput(vp)
register struct vnode *vp;
{
VOP_UNLOCK(vp);
vrele(vp);
VOP_UNLOCK(vp);
vrele(vp);
void vrele(vp)
register struct vnode *vp;
{
void vrele(vp)
register struct vnode *vp;
{
#ifdef DIAGNOSTIC
if (vp == NULL)
#ifdef DIAGNOSTIC
if (vp == NULL)
register struct vnode *vp;
int flags;
{
register struct vnode *vp;
int flags;
{
- USES_VOP_LOCK;
- USES_VOP_UNLOCK;
- USES_VOP_CLOSE;
- USES_VOP_INACTIVE;
- USES_VOP_RECLAIM;
+ struct vop_inactive_args vop_inactive_a;
+ struct vop_reclaim_args vop_reclaim_a;
+ struct vop_unlock_args vop_unlock_a;
+ struct vop_close_args vop_close_a;
int (**origops)();
int active;
int (**origops)();
int active;
char *label;
register struct vnode *vp;
{
char *label;
register struct vnode *vp;
{
char buf[64];
if (label != NULL)
char buf[64];
if (label != NULL)
register struct mount *mp;
register struct vnode *vp;
register struct mount *mp;
register struct vnode *vp;