summaryrefslogtreecommitdiffstats
path: root/sys/dev/vn
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-12-16 01:13:09 +0000
committerphk <phk@FreeBSD.org>1994-12-16 01:13:09 +0000
commit0841512ddc0c5ab1ebe0893b2eb87053c7d13a26 (patch)
tree03b9f570fa97716c68bf923bb104376c71995305 /sys/dev/vn
parent2a3eaa9d83eded927a753dacd9ad0d4ba371ee6d (diff)
downloadFreeBSD-src-0841512ddc0c5ab1ebe0893b2eb87053c7d13a26.zip
FreeBSD-src-0841512ddc0c5ab1ebe0893b2eb87053c7d13a26.tar.gz
An inconsequential #ifdef Bruce forgot.
Diffstat (limited to 'sys/dev/vn')
-rw-r--r--sys/dev/vn/vn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index 946430c..f060796 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -612,7 +612,9 @@ vnclear(struct vn_softc *vn)
vn->sc_vp = (struct vnode *)0;
vn->sc_cred = (struct ucred *)0;
vn->sc_size = 0;
+#ifdef TEST_LABELLING
vn->sc_slices = NULL; /* XXX temportary; leaks memory, maybe worse */
+#endif
}
size_t
OpenPOWER on IntegriCloud