projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1. Remove a rather strangely gratuitous bit of profanity
[unix-history]
/
sys
/
nfs
/
nfs_bio.c
diff --git
a/sys/nfs/nfs_bio.c
b/sys/nfs/nfs_bio.c
index
1c122d4
..
7eb7bd3
100644
(file)
--- a/
sys/nfs/nfs_bio.c
+++ b/
sys/nfs/nfs_bio.c
@@
-34,7
+34,7
@@
* SUCH DAMAGE.
*
* From: @(#)nfs_bio.c 7.19 (Berkeley) 4/16/91
* SUCH DAMAGE.
*
* From: @(#)nfs_bio.c 7.19 (Berkeley) 4/16/91
- * $Id: nfs_bio.c,v 1.
4 1993/11/28 09:16:07
davidg Exp $
+ * $Id: nfs_bio.c,v 1.
5 1994/02/06 22:20:09
davidg Exp $
*/
#include "param.h"
*/
#include "param.h"
@@
-175,8
+175,6
@@
nfs_bioread(vp, uio, ioflag, cred)
error = uiomove(bp->b_un.b_addr + on, (int)n, uio);
switch (vp->v_type) {
case VREG:
error = uiomove(bp->b_un.b_addr + on, (int)n, uio);
switch (vp->v_type) {
case VREG:
- if (n+on == biosize || uio->uio_offset == np->n_size)
- bp->b_flags |= B_AGE;
break;
case VLNK:
n = 0;
break;
case VLNK:
n = 0;
@@
-298,12
+296,10
@@
again:
brelse(bp);
return (error);
}
brelse(bp);
return (error);
}
+ bp->b_proc = (struct proc *)0;
if ((n+on) == biosize) {
if ((n+on) == biosize) {
- bp->b_flags |= B_AGE;
- bp->b_proc = (struct proc *)0;
bawrite(bp);
} else {
bawrite(bp);
} else {
- bp->b_proc = (struct proc *)0;
bdwrite(bp);
}
} while (error == 0 && uio->uio_resid > 0 && n != 0);
bdwrite(bp);
}
} while (error == 0 && uio->uio_resid > 0 && n != 0);