aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2003-01-10 06:59:34 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2003-01-10 06:59:34 +0000
commitcc4a858397b06e233b190c7dbdc85abbffff6205 (patch)
tree804d392094b2faa6123e80a501b811b8be675757
parentd2b9b6b10ca9c7613b50a052ff6b33b1d04b1481 (diff)
Notes
-rw-r--r--sys/ufs/ffs/fs.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/ufs/ffs/fs.h b/sys/ufs/ffs/fs.h
index c11aed7785dbe..a441693c6875c 100644
--- a/sys/ufs/ffs/fs.h
+++ b/sys/ufs/ffs/fs.h
@@ -312,7 +312,7 @@ struct fs {
u_char fs_fsmnt[MAXMNTLEN]; /* name mounted on */
u_char fs_volname[MAXVOLLEN]; /* volume name */
u_int64_t fs_swuid; /* system-wide uid */
- int32_t fs_pad; /* padding for non-i386 */
+ int32_t fs_pad; /* due to alignment of fs_swuid */
/* these fields retain the current block allocation info */
int32_t fs_cgrotor; /* last cg searched */
void *fs_ocsp[NOCSPTRS]; /* padding; was list of fs_cs buffers */
@@ -351,6 +351,11 @@ struct fs {
int32_t fs_magic; /* magic number */
};
+/* Sanity checking. */
+#ifdef CTASSERT
+CTASSERT(sizeof(struct fs) == 1376);
+#endif
+
/*
* Filesystem identification
*/