do not have to have alternate superblock if -b is specified
[unix-history] / usr / src / sbin / fsck / fsck.h
index 6dd559e..dd51f43 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)fsck.h      5.16 (Berkeley) %G%
+ *     @(#)fsck.h      5.18 (Berkeley) %G%
  */
 
 #define        MAXDUP          10      /* limit on dup blks (per inode) */
  */
 
 #define        MAXDUP          10      /* limit on dup blks (per inode) */
@@ -64,7 +64,7 @@ struct bufarea *getdatablk();
 #define        sblock          (*sblk.b_un.b_fs)
 #define        cgrp            (*cgblk.b_un.b_cg)
 
 #define        sblock          (*sblk.b_un.b_fs)
 #define        cgrp            (*cgblk.b_un.b_cg)
 
-enum fixstate {DONTKNOW, NOFIX, FIX};
+enum fixstate {DONTKNOW, NOFIX, FIX, IGNORE};
 
 struct inodesc {
        enum fixstate id_fix;   /* policy on fixing errors */
 
 struct inodesc {
        enum fixstate id_fix;   /* policy on fixing errors */
@@ -73,7 +73,7 @@ struct inodesc {
        ino_t id_parent;        /* for DATA nodes, their parent */
        daddr_t id_blkno;       /* current block number being examined */
        int id_numfrags;        /* number of frags contained in block */
        ino_t id_parent;        /* for DATA nodes, their parent */
        daddr_t id_blkno;       /* current block number being examined */
        int id_numfrags;        /* number of frags contained in block */
-       long id_filesize;       /* for DATA nodes, the size of the directory */
+       quad_t id_filesize;     /* for DATA nodes, the size of the directory */
        int id_loc;             /* for DATA nodes, current location in dir */
        int id_entryno;         /* for DATA nodes, current entry number */
        struct direct *id_dirp; /* for DATA nodes, ptr to current entry */
        int id_loc;             /* for DATA nodes, current location in dir */
        int id_entryno;         /* for DATA nodes, current entry number */
        struct direct *id_dirp; /* for DATA nodes, ptr to current entry */