summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs/fsck.h
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>1996-10-08 14:54:53 +0000
committerguido <guido@FreeBSD.org>1996-10-08 14:54:53 +0000
commitfa2df9711183d8333b77f915f0f7304e3b408afa (patch)
treee3c11f7e57d19cf474a8603163173ff4ce06bd57 /sbin/fsck_ffs/fsck.h
parentc75b6f83bd908dad24cff37264fcd8c631923f96 (diff)
downloadFreeBSD-src-fa2df9711183d8333b77f915f0f7304e3b408afa.zip
FreeBSD-src-fa2df9711183d8333b77f915f0f7304e3b408afa.tar.gz
Fix the case where fsck would not see sparse directories and the kernel would
panic. If such a thing is fixed fsck needs a rerun (and bugs the user to do so). Reviewed by: Kirk McKusick
Diffstat (limited to 'sbin/fsck_ffs/fsck.h')
-rw-r--r--sbin/fsck_ffs/fsck.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h
index 317052f..57cb17a 100644
--- a/sbin/fsck_ffs/fsck.h
+++ b/sbin/fsck_ffs/fsck.h
@@ -180,6 +180,7 @@ int fsmodified; /* 1 => write done to file system */
int fsreadfd; /* file descriptor for reading file system */
int fswritefd; /* file descriptor for writing file system */
int returntosingle; /* return to single user mode */
+int rerun; /* rerun fsck. Only used in non-preen mode */
daddr_t maxfsblock; /* number of blocks in the file system */
char *blockmap; /* ptr to primary blk allocation map */
OpenPOWER on IntegriCloud