diff options
author | phk <phk@FreeBSD.org> | 1996-03-17 20:33:02 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1996-03-17 20:33:02 +0000 |
commit | 44790fdc3dd1f895b931c35ecceca013a222267f (patch) | |
tree | ef80a9340de20d218db968db08aaae7d1494c206 /sys/dev/vn | |
parent | 7a8ec4f7ff2dea03c98fba486a0b2d2cfb854d0e (diff) | |
download | FreeBSD-src-44790fdc3dd1f895b931c35ecceca013a222267f.zip FreeBSD-src-44790fdc3dd1f895b931c35ecceca013a222267f.tar.gz |
Always dsgone() slices when we leave.
Diffstat (limited to 'sys/dev/vn')
-rw-r--r-- | sys/dev/vn/vn.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index 5c3d195..1168cc0 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 |