rename fisrt field to be more descriptive
authorKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Mon, 15 Aug 1994 07:12:35 +0000 (23:12 -0800)
committerKirk McKusick <mckusick@ucbvax.Berkeley.EDU>
Mon, 15 Aug 1994 07:12:35 +0000 (23:12 -0800)
SCCS-vsn: sys/ufs/ffs/fs.h 8.9

usr/src/sys/ufs/ffs/fs.h

index 247a281..4684083 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)fs.h        8.8 (Berkeley) %G%
+ *     @(#)fs.h        8.9 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -131,8 +131,8 @@ struct csum {
  * Super block for an FFS file system.
  */
 struct fs {
  * Super block for an FFS file system.
  */
 struct fs {
-       int32_t  unused_1;              /* historic file system linked list, */
-       int32_t  unused_2;              /*     used for incore super blocks */
+       int32_t  fs_firstfield;         /* historic file system linked list, */
+       int32_t  fs_unused_1;           /*     used for incore super blocks */
        daddr_t  fs_sblkno;             /* addr of super-block in filesys */
        daddr_t  fs_cblkno;             /* offset of cyl-block in filesys */
        daddr_t  fs_iblkno;             /* offset of inode-blocks in filesys */
        daddr_t  fs_sblkno;             /* addr of super-block in filesys */
        daddr_t  fs_cblkno;             /* offset of cyl-block in filesys */
        daddr_t  fs_iblkno;             /* offset of inode-blocks in filesys */
@@ -281,7 +281,7 @@ struct fs {
  */
 #define        CG_MAGIC        0x090255
 struct cg {
  */
 #define        CG_MAGIC        0x090255
 struct cg {
-       int32_t  unused_1;              /* historic cyl groups linked list */
+       int32_t  cg_firstfield;         /* historic cyl groups linked list */
        int32_t  cg_magic;              /* magic number */
        time_t   cg_time;               /* time last written */
        int32_t  cg_cgx;                /* we are the cgx'th cylinder group */
        int32_t  cg_magic;              /* magic number */
        time_t   cg_time;               /* time last written */
        int32_t  cg_cgx;                /* we are the cgx'th cylinder group */
@@ -338,8 +338,8 @@ struct cg {
  * for compatibility with old file systems.
  */
 struct ocg {
  * for compatibility with old file systems.
  */
 struct ocg {
-       int32_t  unused_1;              /* historic linked list of cyl groups */
-       int32_t  unused_2;              /*     used for incore cyl groups */
+       int32_t  cg_firstfield;         /* historic linked list of cyl groups */
+       int32_t  unused_1;              /*     used for incore cyl groups */
        time_t   cg_time;               /* time last written */
        int32_t  cg_cgx;                /* we are the cgx'th cylinder group */
        int16_t  cg_ncyl;               /* number of cyl's this cg */
        time_t   cg_time;               /* time last written */
        int32_t  cg_cgx;                /* we are the cgx'th cylinder group */
        int16_t  cg_ncyl;               /* number of cyl's this cg */