summaryrefslogtreecommitdiffstats
path: root/lib/libprocstat
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2012-10-17 11:16:17 +0000
committerattilio <attilio@FreeBSD.org>2012-10-17 11:16:17 +0000
commit3f4806915ef86ad20f5602a0e46a27fc609e65ba (patch)
treea36bb1b48615302d343a7afd78f6ea19a6b64b3e /lib/libprocstat
parentf16dd753c48f6804e09296920d7c405356699352 (diff)
downloadFreeBSD-src-3f4806915ef86ad20f5602a0e46a27fc609e65ba.zip
FreeBSD-src-3f4806915ef86ad20f5602a0e46a27fc609e65ba.tar.gz
Disconnect non-MPSAFE NWFS from the build in preparation for dropping
GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS. In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically. This is not targeted for MFC.
Diffstat (limited to 'lib/libprocstat')
-rw-r--r--lib/libprocstat/Makefile5
-rw-r--r--lib/libprocstat/common_kvm.h1
-rw-r--r--lib/libprocstat/libprocstat.c3
3 files changed, 0 insertions, 9 deletions
diff --git a/lib/libprocstat/Makefile b/lib/libprocstat/Makefile
index 9804483..d125898 100644
--- a/lib/libprocstat/Makefile
+++ b/lib/libprocstat/Makefile
@@ -24,11 +24,6 @@ LDADD= -lkvm -lutil
MAN= libprocstat.3
-.if ${MK_NCP} != "no"
-CFLAGS+= -DLIBPROCSTAT_NWFS
-SRCS+= nwfs.c
-.endif
-
# XXX This is a hack.
.if ${MK_CDDL} != "no"
CFLAGS+= -DLIBPROCSTAT_ZFS
diff --git a/lib/libprocstat/common_kvm.h b/lib/libprocstat/common_kvm.h
index d0b5307..781863a 100644
--- a/lib/libprocstat/common_kvm.h
+++ b/lib/libprocstat/common_kvm.h
@@ -42,7 +42,6 @@ int isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
int msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
int nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
int ntfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
-int nwfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
int smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
int udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
int ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
diff --git a/lib/libprocstat/libprocstat.c b/lib/libprocstat/libprocstat.c
index 11a817e..425aadf 100644
--- a/lib/libprocstat/libprocstat.c
+++ b/lib/libprocstat/libprocstat.c
@@ -974,9 +974,6 @@ procstat_get_vnode_info_kvm(kvm_t *kd, struct filestat *fst,
FSTYPE(msdosfs),
FSTYPE(nfs),
FSTYPE(ntfs),
-#ifdef LIBPROCSTAT_NWFS
- FSTYPE(nwfs),
-#endif
FSTYPE(smbfs),
FSTYPE(udf),
FSTYPE(ufs),
OpenPOWER on IntegriCloud