summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2022-09-01 13:37:58 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2022-09-01 13:37:58 +0000
commit312014976c38a48edf104f0caad0bae1c4050f1d (patch)
tree824c0025349fcd17aef9ff36d059edf98b225140
parent4326a808084c8da31ddf5b9617472eca8958f015 (diff)
Nuke comment about not using d_sbsize.
ok otto@ as part of larger diff
-rw-r--r--sbin/fsck_ffs/setup.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/fsck_ffs/setup.c b/sbin/fsck_ffs/setup.c
index 42c27f4fdbc..716609fddd3 100644
--- a/sbin/fsck_ffs/setup.c
+++ b/sbin/fsck_ffs/setup.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: setup.c,v 1.68 2021/07/12 15:09:18 beck Exp $ */
+/* $OpenBSD: setup.c,v 1.69 2022/09/01 13:37:57 krw Exp $ */
/* $NetBSD: setup.c,v 1.27 1996/09/27 22:45:19 christos Exp $ */
/*
@@ -650,7 +650,6 @@ calcsb(char *dev, int devfd, struct fs *fs, struct disklabel *lp,
*/
fs->fs_size = DL_SECTOBLK(lp, DL_GETPSIZE(pp)) / fs->fs_nspf;
fs->fs_ncg = howmany(fs->fs_size, fs->fs_fpg);
- /* we can't use lp->d_sbsize, it is the max sb size */
fs->fs_sblkno = roundup(
howmany(sblockloc + SBSIZE, fs->fs_fsize),
fs->fs_frag);