summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-09-04 06:30:05 +0000
committergrog <grog@FreeBSD.org>2001-09-04 06:30:05 +0000
commit98d26ed69137dd9c610acee3be89dd452568e5f6 (patch)
treec1ee71067aebd220dc3477cc6873179ec07f6532 /sys
parent8208e8ca4ff771056eb1b2125a8b680be6b125d2 (diff)
downloadFreeBSD-src-98d26ed69137dd9c610acee3be89dd452568e5f6.zip
FreeBSD-src-98d26ed69137dd9c610acee3be89dd452568e5f6.tar.gz
Remove an accidentally forgotten #ifdef. This could cause depletion
of mutexes if a lot of plexes are created and destroyed.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/vinum/vinumconfig.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/vinum/vinumconfig.c b/sys/dev/vinum/vinumconfig.c
index d447bb1..fea3c2f 100644
--- a/sys/dev/vinum/vinumconfig.c
+++ b/sys/dev/vinum/vinumconfig.c
@@ -1813,10 +1813,8 @@ remove_plex_entry(int plexno, int force, int recurse)
}
}
log(LOG_INFO, "vinum: removing %s\n", plex->name);
-#ifdef FREEBSD5
if (isstriped(plex))
mtx_destroy(&plex->lockmtx);
-#endif
free_plex(plexno);
vinum_conf.plexes_used--; /* one less plex */
}
OpenPOWER on IntegriCloud