diff options
author | peter <peter@FreeBSD.org> | 1999-04-06 03:07:54 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-04-06 03:07:54 +0000 |
commit | 907d1de4fb0d46595d2b74bceb4edcc76f2e65c7 (patch) | |
tree | 29cf04bcf6c7e703793e680affda42ff4bbbb05a /sys/nfs/nfs_bio.c | |
parent | 6b2387578a687e849d23571bb83e49264a850dd9 (diff) | |
download | FreeBSD-src-907d1de4fb0d46595d2b74bceb4edcc76f2e65c7.zip FreeBSD-src-907d1de4fb0d46595d2b74bceb4edcc76f2e65c7.tar.gz |
Hold nfsd's upages in-core with PHOLD rather than P_NOSWAP.
Diffstat (limited to 'sys/nfs/nfs_bio.c')
-rw-r--r-- | sys/nfs/nfs_bio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 1d573ea..cef982b 100644 --- a/sys/nfs/nfs_bio.c +++ b/sys/nfs/nfs_bio.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_bio.c 8.9 (Berkeley) 3/30/95 - * $Id: nfs_bio.c,v 1.67 1999/03/12 02:24:58 julian Exp $ + * $Id: nfs_bio.c,v 1.68 1999/04/05 19:38:28 julian Exp $ */ @@ -1244,7 +1244,7 @@ nfs_doio(bp, cr, p) np->n_mtime != np->n_vattr.va_mtime.tv_sec))) { uprintf("Process killed due to text file modification\n"); psignal(p, SIGKILL); - p->p_flag |= P_NOSWAP; + PHOLD(p); } break; case VLNK: |