diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-06-22 14:14:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-06-22 14:14:12 +0000 |
commit | 0feae2b086084ce16940249793f7b5ecabe85c52 (patch) | |
tree | 98fa9664da9fd8be22e369584c568625bc15f799 /sys/kern/vfs_default.c | |
parent | a49f87d13c19deac6e87761b349d96038b3acdfc (diff) |
KNF
Diffstat (limited to 'sys/kern/vfs_default.c')
-rw-r--r-- | sys/kern/vfs_default.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/kern/vfs_default.c b/sys/kern/vfs_default.c index dae644d9c14..c00deeb9d14 100644 --- a/sys/kern/vfs_default.c +++ b/sys/kern/vfs_default.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_default.c,v 1.5 2001/06/05 20:54:52 provos Exp $ */ +/* $OpenBSD: vfs_default.c,v 1.6 2001/06/22 14:14:10 deraadt Exp $ */ /* @@ -67,7 +67,7 @@ vop_generic_revoke(v) void *v; { struct vop_revoke_args /* { - struct vnode *a_vp; + struct vnode *a_vp; int a_flags; } */ *ap = v; struct vnode *vp, *vq; @@ -208,13 +208,13 @@ vop_generic_lock(v) vnflags |= LK_INTERLOCK; return(lockmgr(vp->v_vnlock, vnflags, &vp->v_interlock, ap->a_p)); #else /* for now */ - /* - * Since we are not using the lock manager, we must clear - * the interlock here. - */ - if (ap->a_flags & LK_INTERLOCK) - simple_unlock(&ap->a_vp->v_interlock); - return (0); + /* + * Since we are not using the lock manager, we must clear + * the interlock here. + */ + if (ap->a_flags & LK_INTERLOCK) + simple_unlock(&ap->a_vp->v_interlock); + return (0); #endif } |