aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2004-10-01 05:01:41 +0000
committerDavid Schultz <das@FreeBSD.org>2004-10-01 05:01:41 +0000
commit506d3e1bcc83a991d5ade3a029df7e9a35857a6a (patch)
tree07a219455702c86c254bc19d123fd49e027d1829
parent299bc7367df2e228f4fdb4890b11f99dde9861f0 (diff)
Notes
-rw-r--r--sys/nfsclient/nfs_bio.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/nfsclient/nfs_bio.c b/sys/nfsclient/nfs_bio.c
index d05180ded649d..5364af433cd0d 100644
--- a/sys/nfsclient/nfs_bio.c
+++ b/sys/nfsclient/nfs_bio.c
@@ -1354,10 +1354,8 @@ nfs_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td)
/* ASSERT_VOP_LOCKED(vp, "nfs_doio"); */
if (p && (vp->v_vflag & VV_TEXT) &&
(np->n_mtime != np->n_vattr.va_mtime.tv_sec)) {
- uprintf("Process killed due to text file modification\n");
PROC_LOCK(p);
- psignal(p, SIGKILL);
- _PHOLD(p);
+ killproc(p, "text file modification");
PROC_UNLOCK(p);
}
break;