summaryrefslogtreecommitdiffstats
path: root/sys/dev/vn
diff options
context:
space:
mode:
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