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:
parent
94142c49dc
commit
27b286aa8c
@ -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 */
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user