diff options
author | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-03-09 13:35:03 +0000 |
---|---|---|
committer | Pedro Martelletto <pedro@cvs.openbsd.org> | 2006-03-09 13:35:03 +0000 |
commit | 164a6b1ad593049aa35d3d58446a7a517a3e75eb (patch) | |
tree | a1c2195d552e950ef96fb1fd3bd19f6ebcf93c2c /sys/ufs | |
parent | dce26f6ae64a51315f5998964911ac7b83859ced (diff) |
Remove option -n from newfs as well as all references to fs_postbl()
Various testing for a while, okay krw@
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/fs.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sys/ufs/ffs/fs.h b/sys/ufs/ffs/fs.h index 8899cefc07e..dae84da2c74 100644 --- a/sys/ufs/ffs/fs.h +++ b/sys/ufs/ffs/fs.h @@ -1,4 +1,4 @@ -/* $OpenBSD: fs.h,v 1.18 2005/12/28 20:48:18 pedro Exp $ */ +/* $OpenBSD: fs.h,v 1.19 2006/03/09 13:35:02 pedro Exp $ */ /* $NetBSD: fs.h,v 1.6 1995/04/12 21:21:02 mycroft Exp $ */ /* @@ -267,6 +267,8 @@ struct fs { /* actually longer */ }; +#define fs_opostbl_start fs_opostbl[0][0] + /* * Filesystem identification */ @@ -303,11 +305,6 @@ struct fs { /* * Macros for access to superblock array structures */ -#define fs_postbl(fs, cylno) \ - (((fs)->fs_postblformat == FS_42POSTBLFMT) \ - ? ((fs)->fs_opostbl[cylno]) \ - : ((int16_t *)((u_int8_t *)(fs) + \ - (fs)->fs_postbloff) + (cylno) * (fs)->fs_nrpos)) #define fs_rotbl(fs) \ (((fs)->fs_postblformat == FS_42POSTBLFMT) \ ? ((fs)->fs_space) \ |