gmirror: Use bool instead of boolean_t.
MFC after: 1 week Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
f43292ecf4
commit
fff048e4bc
@ -100,7 +100,7 @@ struct g_class g_mirror_class = {
|
||||
|
||||
static void g_mirror_destroy_provider(struct g_mirror_softc *sc);
|
||||
static int g_mirror_update_disk(struct g_mirror_disk *disk, u_int state);
|
||||
static void g_mirror_update_device(struct g_mirror_softc *sc, boolean_t force);
|
||||
static void g_mirror_update_device(struct g_mirror_softc *sc, bool force);
|
||||
static void g_mirror_dumpconf(struct sbuf *sb, const char *indent,
|
||||
struct g_geom *gp, struct g_consumer *cp, struct g_provider *pp);
|
||||
static void g_mirror_sync_stop(struct g_mirror_disk *disk, int type);
|
||||
@ -1837,7 +1837,7 @@ g_mirror_worker(void *arg)
|
||||
"Running event for device %s.",
|
||||
sc->sc_name);
|
||||
ep->e_error = 0;
|
||||
g_mirror_update_device(sc, 1);
|
||||
g_mirror_update_device(sc, true);
|
||||
} else {
|
||||
/* Update disk status. */
|
||||
G_MIRROR_DEBUG(3, "Running event for disk %s.",
|
||||
@ -1845,7 +1845,7 @@ g_mirror_worker(void *arg)
|
||||
ep->e_error = g_mirror_update_disk(ep->e_disk,
|
||||
ep->e_state);
|
||||
if (ep->e_error == 0)
|
||||
g_mirror_update_device(sc, 0);
|
||||
g_mirror_update_device(sc, false);
|
||||
}
|
||||
if ((ep->e_flags & G_MIRROR_EVENT_DONTWAIT) != 0) {
|
||||
KASSERT(ep->e_error == 0,
|
||||
@ -2243,7 +2243,7 @@ g_mirror_determine_state(struct g_mirror_disk *disk)
|
||||
* Update device state.
|
||||
*/
|
||||
static void
|
||||
g_mirror_update_device(struct g_mirror_softc *sc, boolean_t force)
|
||||
g_mirror_update_device(struct g_mirror_softc *sc, bool force)
|
||||
{
|
||||
struct g_mirror_disk *disk;
|
||||
u_int state;
|
||||
|
Loading…
Reference in New Issue
Block a user