diff options
author | pjd <pjd@FreeBSD.org> | 2004-12-21 19:50:18 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-12-21 19:50:18 +0000 |
commit | 968f03faa7b3b44011e8bcc285dd7cf40ab5e13b (patch) | |
tree | 8b5c09b4887302c4c34fa3dc8b8ce044f3c75f98 | |
parent | 66d65c661482f5b97b170dea920df7c1e0b28431 (diff) | |
download | FreeBSD-src-968f03faa7b3b44011e8bcc285dd7cf40ab5e13b.zip FreeBSD-src-968f03faa7b3b44011e8bcc285dd7cf40ab5e13b.tar.gz |
Now, when force device destruction is done on shutdown, hide warning,
that device cannot be destroyed immediately, under debug=1.
Suggested by: simon
-rw-r--r-- | sys/geom/mirror/g_mirror.c | 2 | ||||
-rw-r--r-- | sys/geom/raid3/g_raid3.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c index 8ae0540..fadf447 100644 --- a/sys/geom/mirror/g_mirror.c +++ b/sys/geom/mirror/g_mirror.c @@ -2536,7 +2536,7 @@ g_mirror_destroy(struct g_mirror_softc *sc, boolean_t force) pp = sc->sc_provider; if (pp != NULL && (pp->acr != 0 || pp->acw != 0 || pp->ace != 0)) { if (force) { - G_MIRROR_DEBUG(0, "Device %s is still open, so it " + G_MIRROR_DEBUG(1, "Device %s is still open, so it " "can't be definitely removed.", pp->name); } else { G_MIRROR_DEBUG(1, diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c index b6815fb..b40a8f4 100644 --- a/sys/geom/raid3/g_raid3.c +++ b/sys/geom/raid3/g_raid3.c @@ -2765,7 +2765,7 @@ g_raid3_destroy(struct g_raid3_softc *sc, boolean_t force) pp = sc->sc_provider; if (pp != NULL && (pp->acr != 0 || pp->acw != 0 || pp->ace != 0)) { if (force) { - G_RAID3_DEBUG(0, "Device %s is still open, so it " + G_RAID3_DEBUG(1, "Device %s is still open, so it " "can't be definitely removed.", pp->name); } else { G_RAID3_DEBUG(1, |