diff options
author | kib <kib@FreeBSD.org> | 2010-11-19 21:17:34 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-11-19 21:17:34 +0000 |
commit | 7980fb6d3a02d0329ef2263493dc0c6e59d193d9 (patch) | |
tree | 28ad17a8af8b65af2dc189da44c7f431a6697c32 /sys/nfsclient/nfs_node.c | |
parent | 30e82871824e76964d848069429fe0b075834b18 (diff) | |
download | FreeBSD-src-7980fb6d3a02d0329ef2263493dc0c6e59d193d9.zip FreeBSD-src-7980fb6d3a02d0329ef2263493dc0c6e59d193d9.tar.gz |
Remove prtactive variable and related printf()s in the vop_inactive
and vop_reclaim() methods. They seems to be unused, and the reported
situation is normal for the forced unmount.
MFC after: 1 week
X-MFC-note: keep prtactive symbol in vfs_subr.c
Diffstat (limited to 'sys/nfsclient/nfs_node.c')
-rw-r--r-- | sys/nfsclient/nfs_node.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/nfsclient/nfs_node.c b/sys/nfsclient/nfs_node.c index 5b87bd7..5b43b3d 100644 --- a/sys/nfsclient/nfs_node.c +++ b/sys/nfsclient/nfs_node.c @@ -193,8 +193,6 @@ nfs_inactive(struct vop_inactive_args *ap) struct thread *td = curthread; /* XXX */ np = VTONFS(ap->a_vp); - if (prtactive && vrefcnt(ap->a_vp) != 0) - vprint("nfs_inactive: pushing active", ap->a_vp); mtx_lock(&np->n_mtx); if (ap->a_vp->v_type != VDIR) { sp = np->n_sillyrename; @@ -228,9 +226,6 @@ nfs_reclaim(struct vop_reclaim_args *ap) struct nfsnode *np = VTONFS(vp); struct nfsdmap *dp, *dp2; - if (prtactive && vrefcnt(vp) != 0) - vprint("nfs_reclaim: pushing active", vp); - /* * If the NLM is running, give it a chance to abort pending * locks. |