diff options
author | mav <mav@FreeBSD.org> | 2011-03-31 16:14:35 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2011-03-31 16:14:35 +0000 |
commit | 8fca35a71a67ff324340e8a89c496eaef25f985a (patch) | |
tree | fe6c8457c3f4203fea7e8e1fe634699aa8853266 /sys/geom/raid/tr_raid1.c | |
parent | d56170701edd485dd31c6c68254daab567f5d249 (diff) | |
download | FreeBSD-src-8fca35a71a67ff324340e8a89c496eaef25f985a.zip FreeBSD-src-8fca35a71a67ff324340e8a89c496eaef25f985a.tar.gz |
Bunch of small bugfixes and cleanups.
Found with: Coverity Prevent(tm)
CID: 9656, 9658, 9693, 9705, 9706, 9707, 9808, 9809, 9810,
9711, 9712, 9713, 9714
Diffstat (limited to 'sys/geom/raid/tr_raid1.c')
-rw-r--r-- | sys/geom/raid/tr_raid1.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/raid/tr_raid1.c b/sys/geom/raid/tr_raid1.c index b5e4953..afa7630 100644 --- a/sys/geom/raid/tr_raid1.c +++ b/sys/geom/raid/tr_raid1.c @@ -720,8 +720,6 @@ g_raid_tr_iodone_raid1(struct g_raid_tr_object *tr, bp->bio_error); bp->bio_cmd = BIO_WRITE; bp->bio_cflags = G_RAID_BIO_FLAG_SYNC; - bp->bio_offset = bp->bio_offset; - bp->bio_length = bp->bio_length; G_RAID_LOGREQ(4, bp, "Queueing rebuild write."); g_raid_subdisk_iostart(trs->trso_failed_sd, bp); } else { |