diff options
author | Martin Natano <natano@cvs.openbsd.org> | 2016-11-10 08:26:39 +0000 |
---|---|---|
committer | Martin Natano <natano@cvs.openbsd.org> | 2016-11-10 08:26:39 +0000 |
commit | 311c0d68a4fd518ffb25de5d02f693d2f572f359 (patch) | |
tree | b04c68509c692cec4202755aa86874d91cf8d2a2 /usr.sbin/makefs/ffs.c | |
parent | a2dc634bdd9b931f6de3216693c3408f279fc69d (diff) |
Remove the unused cpg field from ffs_opt_t.
Diffstat (limited to 'usr.sbin/makefs/ffs.c')
-rw-r--r-- | usr.sbin/makefs/ffs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.sbin/makefs/ffs.c b/usr.sbin/makefs/ffs.c index fdba04ff06a..9e301a36bd3 100644 --- a/usr.sbin/makefs/ffs.c +++ b/usr.sbin/makefs/ffs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs.c,v 1.22 2016/11/08 19:38:57 natano Exp $ */ +/* $OpenBSD: ffs.c,v 1.23 2016/11/10 08:26:38 natano Exp $ */ /* $NetBSD: ffs.c,v 1.66 2015/12/21 00:58:08 christos Exp $ */ /* @@ -101,7 +101,6 @@ #define DFL_FRAGSIZE 1024 /* fragment size */ #define DFL_BLKSIZE 8192 /* block size */ #define DFL_SECSIZE 512 /* sector size */ -#define DFL_CYLSPERGROUP 65536 /* cylinders per group */ typedef struct { @@ -150,7 +149,6 @@ ffs_prep_opts(fsinfo_t *fsopts) ffs_opts->bsize= -1; ffs_opts->fsize= -1; - ffs_opts->cpg= -1; ffs_opts->density= -1; ffs_opts->minfree= -1; ffs_opts->optimization= -1; @@ -327,8 +325,6 @@ ffs_validate(const char *dir, fsnode *root, fsinfo_t *fsopts) ffs_opts->fsize = MAX(DFL_FRAGSIZE, fsopts->sectorsize); if (ffs_opts->bsize == -1) ffs_opts->bsize = MIN(DFL_BLKSIZE, 8 * ffs_opts->fsize); - if (ffs_opts->cpg == -1) - ffs_opts->cpg = DFL_CYLSPERGROUP; /* fsopts->density is set below */ if (ffs_opts->minfree == -1) ffs_opts->minfree = MINFREE; |