get rid of some more bogus changes from a week ago

This commit is contained in:
cgd 1993-07-13 10:50:04 +00:00
parent a70246c1fa
commit 7ecbd4b92d
2 changed files with 3 additions and 8 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)nfs_bio.c 7.19 (Berkeley) 4/16/91
* $Id: nfs_bio.c,v 1.5 1993/07/13 10:04:26 cgd Exp $
* $Id: nfs_bio.c,v 1.6 1993/07/13 10:50:04 cgd Exp $
*/
#include "param.h"
@ -260,11 +260,6 @@ nfs_write(vp, uio, ioflag, cred)
bn = lbn*(biosize/DEV_BSIZE);
again:
bp = getblk(vp, bn, biosize);
if (bp->b_flags&B_ERROR) {
error = bp->b_error;
brelse(bp);
return error;
}
if (bp->b_wcred == NOCRED && cred != NOCRED) {
crhold(cred);
bp->b_wcred = cred;

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)nfs_vnops.c 7.60 (Berkeley) 5/24/91
* $Id: nfs_vnops.c,v 1.8 1993/07/13 10:04:31 cgd Exp $
* $Id: nfs_vnops.c,v 1.9 1993/07/13 10:50:06 cgd Exp $
*/
/*
@ -1485,7 +1485,7 @@ nfs_bmap(vp, bn, vpp, bnp)
if (vpp != NULL)
*vpp = vp;
if (bnp != NULL)
*bnp = bn * btodb(VFSTONFS(vp->v_mount)->nm_rsize);
*bnp = bn * btodb(vp->v_mount->mnt_stat.f_bsize);
return (0);
}