1c1
< /* $Id: msdosfs_vnops.c,v 1.48 1997/10/16 10:48:52 phk Exp $ */
---
> /* $Id: msdosfs_vnops.c,v 1.49 1997/10/16 20:32:31 phk Exp $ */
97,98d96
< static int msdosfs_lock __P((struct vop_lock_args *));
< static int msdosfs_unlock __P((struct vop_unlock_args *));
102d99
< static int msdosfs_islocked __P((struct vop_islocked_args *));
1712,1749d1708
< static int
< msdosfs_lock(ap)
< struct vop_lock_args /* {
< struct vnode *a_vp;
< int a_flags;
< struct proc *a_p;
< } */ *ap;
< {
< struct vnode *vp = ap->a_vp;
<
< return (lockmgr(&VTODE(vp)->de_lock, ap->a_flags, &vp->v_interlock,
< ap->a_p));
< }
<
< int
< msdosfs_unlock(ap)
< struct vop_unlock_args /* {
< struct vnode *a_vp;
< int a_flags;
< struct proc *a_p;
< } */ *ap;
< {
< struct vnode *vp = ap->a_vp;
<
< return (lockmgr(&VTODE(vp)->de_lock, ap->a_flags | LK_RELEASE,
< &vp->v_interlock, ap->a_p));
< }
<
< int
< msdosfs_islocked(ap)
< struct vop_islocked_args /* {
< struct vnode *a_vp;
< } */ *ap;
< {
<
< return (lockstatus(&VTODE(ap->a_vp)->de_lock));
< }
<
1887c1846
< { &vop_islocked_desc, (vop_t *) msdosfs_islocked },
---
> { &vop_islocked_desc, (vop_t *) vop_stdislocked },
1889c1848
< { &vop_lock_desc, (vop_t *) msdosfs_lock },
---
> { &vop_lock_desc, (vop_t *) vop_stdlock },
1904c1863
< { &vop_unlock_desc, (vop_t *) msdosfs_unlock },
---
> { &vop_unlock_desc, (vop_t *) vop_stdunlock },
< /* $Id: msdosfs_vnops.c,v 1.48 1997/10/16 10:48:52 phk Exp $ */
---
> /* $Id: msdosfs_vnops.c,v 1.49 1997/10/16 20:32:31 phk Exp $ */
97,98d96
< static int msdosfs_lock __P((struct vop_lock_args *));
< static int msdosfs_unlock __P((struct vop_unlock_args *));
102d99
< static int msdosfs_islocked __P((struct vop_islocked_args *));
1712,1749d1708
< static int
< msdosfs_lock(ap)
< struct vop_lock_args /* {
< struct vnode *a_vp;
< int a_flags;
< struct proc *a_p;
< } */ *ap;
< {
< struct vnode *vp = ap->a_vp;
<
< return (lockmgr(&VTODE(vp)->de_lock, ap->a_flags, &vp->v_interlock,
< ap->a_p));
< }
<
< int
< msdosfs_unlock(ap)
< struct vop_unlock_args /* {
< struct vnode *a_vp;
< int a_flags;
< struct proc *a_p;
< } */ *ap;
< {
< struct vnode *vp = ap->a_vp;
<
< return (lockmgr(&VTODE(vp)->de_lock, ap->a_flags | LK_RELEASE,
< &vp->v_interlock, ap->a_p));
< }
<
< int
< msdosfs_islocked(ap)
< struct vop_islocked_args /* {
< struct vnode *a_vp;
< } */ *ap;
< {
<
< return (lockstatus(&VTODE(ap->a_vp)->de_lock));
< }
<
1887c1846
< { &vop_islocked_desc, (vop_t *) msdosfs_islocked },
---
> { &vop_islocked_desc, (vop_t *) vop_stdislocked },
1889c1848
< { &vop_lock_desc, (vop_t *) msdosfs_lock },
---
> { &vop_lock_desc, (vop_t *) vop_stdlock },
1904c1863
< { &vop_unlock_desc, (vop_t *) msdosfs_unlock },
---
> { &vop_unlock_desc, (vop_t *) vop_stdunlock },