summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-09-30 08:01:11 +0000
committerpjd <pjd@FreeBSD.org>2006-09-30 08:01:11 +0000
commit8cff3b898fb26f0c71481bc9a3053ff0f965b865 (patch)
treefbfc299dc2f3d5993b040fc87e0ed107f88f6f8b
parent9e9ac4a6cb141480fa6d92ead1afe93bbcd387ac (diff)
downloadFreeBSD-src-8cff3b898fb26f0c71481bc9a3053ff0f965b865.zip
FreeBSD-src-8cff3b898fb26f0c71481bc9a3053ff0f965b865.tar.gz
Remove trailing spaces.
-rw-r--r--sys/geom/raid3/g_raid3.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/sys/geom/raid3/g_raid3.c b/sys/geom/raid3/g_raid3.c
index 1f0b697..8b2ca2b 100644
--- a/sys/geom/raid3/g_raid3.c
+++ b/sys/geom/raid3/g_raid3.c
@@ -696,23 +696,23 @@ g_raid3_write_metadata(struct g_raid3_disk *disk, struct g_raid3_metadata *md)
error = g_write_data(cp, offset, sector, length);
free(sector, M_RAID3);
if (error != 0) {
- if ((disk->d_flags & G_RAID3_DISK_FLAG_BROKEN) == 0) {
- G_RAID3_DEBUG(0, "Cannot write metadata on %s "
- "(device=%s, error=%d).",
- g_raid3_get_diskname(disk), sc->sc_name, error);
- disk->d_flags |= G_RAID3_DISK_FLAG_BROKEN;
- } else {
- G_RAID3_DEBUG(1, "Cannot write metadata on %s "
- "(device=%s, error=%d).",
- g_raid3_get_diskname(disk), sc->sc_name, error);
- }
- if (g_raid3_disconnect_on_failure &&
+ if ((disk->d_flags & G_RAID3_DISK_FLAG_BROKEN) == 0) {
+ G_RAID3_DEBUG(0, "Cannot write metadata on %s "
+ "(device=%s, error=%d).",
+ g_raid3_get_diskname(disk), sc->sc_name, error);
+ disk->d_flags |= G_RAID3_DISK_FLAG_BROKEN;
+ } else {
+ G_RAID3_DEBUG(1, "Cannot write metadata on %s "
+ "(device=%s, error=%d).",
+ g_raid3_get_diskname(disk), sc->sc_name, error);
+ }
+ if (g_raid3_disconnect_on_failure &&
sc->sc_state == G_RAID3_DEVICE_STATE_COMPLETE) {
- sc->sc_bump_id |= G_RAID3_BUMP_GENID;
- g_raid3_event_send(disk,
- G_RAID3_DISK_STATE_DISCONNECTED,
- G_RAID3_EVENT_DONTWAIT);
- }
+ sc->sc_bump_id |= G_RAID3_BUMP_GENID;
+ g_raid3_event_send(disk,
+ G_RAID3_DISK_STATE_DISCONNECTED,
+ G_RAID3_EVENT_DONTWAIT);
+ }
}
return (error);
}
OpenPOWER on IntegriCloud