Get rid of the private vnread() and vnwrite(); they are the same as rawread()
and rawwrite().
This commit is contained in:
parent
e641126478
commit
19017044cf
28
sys/dev/vn.c
28
sys/dev/vn.c
@ -359,34 +359,6 @@ vniodone(bp)
|
||||
splx(s);
|
||||
}
|
||||
|
||||
vnread(dev, uio, flags, p)
|
||||
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));
|
||||
}
|
||||
|
||||
vnwrite(dev, uio, flags, p)
|
||||
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 */
|
||||
vnioctl(dev, cmd, data, flag, p)
|
||||
dev_t dev;
|
||||
|
@ -359,34 +359,6 @@ vniodone(bp)
|
||||
splx(s);
|
||||
}
|
||||
|
||||
vnread(dev, uio, flags, p)
|
||||
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));
|
||||
}
|
||||
|
||||
vnwrite(dev, uio, flags, p)
|
||||
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 */
|
||||
vnioctl(dev, cmd, data, flag, p)
|
||||
dev_t dev;
|
||||
|
Loading…
Reference in New Issue
Block a user