hammer2 - last_tid renamed to mirror_tid in volume header
authorMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 May 2012 05:39:10 +0000 (22:39 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Tue, 15 May 2012 05:39:10 +0000 (22:39 -0700)
* The volume header needs a discrete field to hold the highest-propagated
  mirror_tid value.

sbin/newfs_hammer2/newfs_hammer2.c

index 5d39337..629dff2 100644 (file)
@@ -627,7 +627,7 @@ format_hammer2(int fd, hammer2_off_t total_space, hammer2_off_t free_space)
        vol->allocator_beg = alloc_base;
 
        vol->sroot_blockset.blockref[0] = sroot_blockref;
-       vol->last_tid = 0;
+       vol->mirror_tid = 0;
        vol->alloc_tid = 16;
        vol->icrc_sects[HAMMER2_VOL_ICRC_SECT1] =
                        hammer2_icrc32((char *)vol + HAMMER2_VOLUME_ICRC1_OFF,