diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1999-04-06 03:07:54 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1999-04-06 03:07:54 +0000 |
| commit | 8a0d8193f23c7159906077bd7f7fe4e805fab498 (patch) | |
| tree | 442c01bf6d337792fc48a479d11d08a4753d7c66 | |
| parent | 2ada239c122c9f0556cce1729b881966c909c46d (diff) | |
Notes
| -rw-r--r-- | sys/nfs/nfs_bio.c | 4 | ||||
| -rw-r--r-- | sys/nfsclient/nfs_bio.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfs/nfs_bio.c b/sys/nfs/nfs_bio.c index 1d573ea66276f..cef982bb26fd5 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: diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c index 1d573ea66276f..cef982bb26fd5 100644 --- a/sys/nfsclient/nfs_bio.c +++ b/sys/nfsclient/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: |
