svn commit: r218204 - projects/graid/head/sys/geom/raid

Warner Losh imp at FreeBSD.org
Wed Feb 2 21:49:29 UTC 2011


Author: imp
Date: Wed Feb  2 21:49:29 2011
New Revision: 218204
URL: http://svn.freebsd.org/changeset/base/218204

Log:
  this comment is stale

Modified:
  projects/graid/head/sys/geom/raid/tr_raid1.c

Modified: projects/graid/head/sys/geom/raid/tr_raid1.c
==============================================================================
--- projects/graid/head/sys/geom/raid/tr_raid1.c	Wed Feb  2 21:48:53 2011	(r218203)
+++ projects/graid/head/sys/geom/raid/tr_raid1.c	Wed Feb  2 21:49:29 2011	(r218204)
@@ -306,11 +306,6 @@ g_raid_tr_raid1_rebuild_start(struct g_r
 	G_RAID_DEBUG(2, "Kicking off a rebuild at %jd...",
 	    trs->trso_failed_sd->sd_rebuild_pos);
 	trs->trso_type = TR_RAID1_REBUILD;
-/*
- * I'm not sure when to reset this and when to use what's there already.
- * XXX
- */
-//	trs->trso_failed_sd->sd_rebuild_pos = 0;
 	trs->trso_buffer = malloc(SD_REBUILD_SLAB, M_TR_raid1, M_WAITOK);
 	trs->trso_meta_update = SD_REBUILD_META_UPDATE;
 	vol->v_to_arg = trs;


More information about the svn-src-projects mailing list