mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
Warning: vn doesn't work just now. I havn't found out why. This commit
just removes a couple of unused functions.
This commit is contained in:
parent
d1544fa9af
commit
ba7d3b1476
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6026
@ -131,8 +131,6 @@ int vnopen __P((dev_t dev, int flags, int mode, struct proc *p));
|
||||
void vnstrategy __P((struct buf *bp));
|
||||
void vnstart __P((struct vn_softc *vn));
|
||||
void vniodone __P((struct buf *bp));
|
||||
int vnread __P((dev_t dev, struct uio *uio, int flags, struct proc *p));
|
||||
int vnwrite __P((dev_t dev, struct uio *uio, int flags, struct proc *p));
|
||||
int vnioctl __P((dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p));
|
||||
int vnsetcred __P((struct vn_softc *vn, struct ucred *cred));
|
||||
void vnthrottle __P((struct vn_softc *vn, struct vnode *vp));
|
||||
@ -413,28 +411,6 @@ vniodone(struct buf *bp)
|
||||
splx(s);
|
||||
}
|
||||
|
||||
int
|
||||
vnread(dev_t dev, struct uio *uio, int flags, struct proc *p)
|
||||
{
|
||||
|
||||
#ifdef DEBUG
|
||||
if (vndebug & VDB_FOLLOW)
|
||||
printf("vnread(%x, %x, %x, %x)\n", dev, uio, flags, p);
|
||||
#endif
|
||||
return(physio(vnstrategy, NULL, dev, B_READ, minphys, uio));
|
||||
}
|
||||
|
||||
int
|
||||
vnwrite(dev_t dev, struct uio *uio, int flags, struct proc *p)
|
||||
{
|
||||
|
||||
#ifdef DEBUG
|
||||
if (vndebug & VDB_FOLLOW)
|
||||
printf("vnwrite(%x, %x, %x, %x)\n", dev, uio, flags, p);
|
||||
#endif
|
||||
return(physio(vnstrategy, NULL, dev, B_WRITE, minphys, uio));
|
||||
}
|
||||
|
||||
/* ARGSUSED */
|
||||
int
|
||||
vnioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
|
||||
|
Loading…
Reference in New Issue
Block a user