aboutsummaryrefslogtreecommitdiff
path: root/sys/geom
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2016-10-05 23:55:01 +0000
committerMark Johnston <markj@FreeBSD.org>2016-10-05 23:55:01 +0000
commitfff048e4bcfd3589e9a837c21b2b5f10c1145402 (patch)
tree653e86e15c2fbc8cdbf74599263502565b44f6c7 /sys/geom
parentf43292ecf47b6f7b5e73dde21c3b32df03db2878 (diff)
downloadsrc-fff048e4bcfd3589e9a837c21b2b5f10c1145402.tar.gz
src-fff048e4bcfd3589e9a837c21b2b5f10c1145402.zip
gmirror: Use bool instead of boolean_t.
MFC after: 1 week Sponsored by: Dell EMC Isilon
Notes
Notes: svn path=/head/; revision=306742
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/mirror/g_mirror.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c
index 112d9da52dbb..176b4e38b8a4 100644
--- a/sys/geom/mirror/g_mirror.c
+++ b/sys/geom/mirror/g_mirror.c
@@ -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;