summaryrefslogtreecommitdiff
path: root/sys/dev/vn
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1996-03-17 20:33:02 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1996-03-17 20:33:02 +0000
commitb71daf545651a38452d355934b8dcdf79622ce5c (patch)
treeef80a9340de20d218db968db08aaae7d1494c206 /sys/dev/vn
parentd1b44182d06a32eee8a489d68dbd4023e49ee65c (diff)
Notes
Diffstat (limited to 'sys/dev/vn')
-rw-r--r--sys/dev/vn/vn.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c
index 5c3d19539ba4..1168cc030537 100644
--- a/sys/dev/vn/vn.c
+++ b/sys/dev/vn/vn.c
@@ -596,9 +596,8 @@ vnclear(struct vn_softc *vn)
vn->sc_vp = (struct vnode *)0;
vn->sc_cred = (struct ucred *)0;
vn->sc_size = 0;
- IFOPT(vn, VN_LABELS)
- if (vn->sc_slices != NULL)
- dsgone(&vn->sc_slices);
+ if (vn->sc_slices != NULL)
+ dsgone(&vn->sc_slices);
}
static int