From 98d26ed69137dd9c610acee3be89dd452568e5f6 Mon Sep 17 00:00:00 2001 From: grog Date: Tue, 4 Sep 2001 06:30:05 +0000 Subject: Remove an accidentally forgotten #ifdef. This could cause depletion of mutexes if a lot of plexes are created and destroyed. --- sys/dev/vinum/vinumconfig.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys') 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 */ } -- cgit v1.1