diff options
author | gordon <gordon@FreeBSD.org> | 2003-01-09 23:53:30 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2003-01-09 23:53:30 +0000 |
commit | 2af32f18dc26b54f3e3a1f6c4fa1280a82328ffb (patch) | |
tree | 06a30059933c0933ada52423c7b6700bb8f7cc73 /sys/ufs/ffs | |
parent | 6375e5f09a9130c83c628cd08c39b58280598668 (diff) | |
download | FreeBSD-src-2af32f18dc26b54f3e3a1f6c4fa1280a82328ffb.zip FreeBSD-src-2af32f18dc26b54f3e3a1f6c4fa1280a82328ffb.tar.gz |
Fix superblock alignment problems on non-i386 platforms. Also change fs_uuid
to fs_swuid, making it more descriptive.
Submitted by: marcel
Reviewed by: peter
Pointy hat to: gordon
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/fs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/ufs/ffs/fs.h b/sys/ufs/ffs/fs.h index ddd31da..c11aed7 100644 --- a/sys/ufs/ffs/fs.h +++ b/sys/ufs/ffs/fs.h @@ -117,7 +117,7 @@ * in fs_fsmnt. MAXMNTLEN defines the amount of space allocated in * the super block for this name. */ -#define MAXMNTLEN 472 +#define MAXMNTLEN 468 /* * The volume name for this filesystem is maintained in fs_volname. @@ -311,7 +311,8 @@ struct fs { int8_t fs_old_flags; /* old FS_ flags */ u_char fs_fsmnt[MAXMNTLEN]; /* name mounted on */ u_char fs_volname[MAXVOLLEN]; /* volume name */ - u_int64_t fs_uuid; /* system-wide unique uid */ + u_int64_t fs_swuid; /* system-wide uid */ + int32_t fs_pad; /* padding for non-i386 */ /* 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 */ |