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/fs/nfsclient/nfs_clnode.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/fs/nfsclient/nfs_clnode.c')
-rw-r--r-- | sys/fs/nfsclient/nfs_clnode.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/fs/nfsclient/nfs_clnode.c b/sys/fs/nfsclient/nfs_clnode.c index 430b494..01e1919 100644 --- a/sys/fs/nfsclient/nfs_clnode.c +++ b/sys/fs/nfsclient/nfs_clnode.c @@ -190,8 +190,6 @@ ncl_inactive(struct vop_inactive_args *ap) struct vnode *vp = ap->a_vp; np = VTONFS(vp); - if (prtactive && vrefcnt(vp) != 0) - vprint("ncl_inactive: pushing active", vp); if (NFS_ISV4(vp) && vp->v_type == VREG) { /* @@ -233,9 +231,6 @@ ncl_reclaim(struct vop_reclaim_args *ap) struct nfsnode *np = VTONFS(vp); struct nfsdmap *dp, *dp2; - if (prtactive && vrefcnt(vp) != 0) - vprint("ncl_reclaim: pushing active", vp); - if (NFS_ISV4(vp) && vp->v_type == VREG) /* * Since mmap()'d files do I/O after VOP_CLOSE(), the NFSv4 |