Remove an accidentally forgotten #ifdef. This could cause depletion

of mutexes if a lot of plexes are created and destroyed.
This commit is contained in:
Greg Lehey 2001-09-04 06:30:05 +00:00
parent 94142c49dc
commit 27b286aa8c

View File

@ -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 */
}