summaryrefslogtreecommitdiffstats
path: root/sbin/growfs/debug.c
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2012-04-15 15:13:29 +0000
committertrasz <trasz@FreeBSD.org>2012-04-15 15:13:29 +0000
commite22aaa4b074eabc5c566d6a5781ddfdbbc60414a (patch)
treed8edc47dd209f04edf21d3d1afaeb788415677f2 /sbin/growfs/debug.c
parentcdae5342840dfe57635e0d5444b24c406d583981 (diff)
downloadFreeBSD-src-e22aaa4b074eabc5c566d6a5781ddfdbbc60414a.zip
FreeBSD-src-e22aaa4b074eabc5c566d6a5781ddfdbbc60414a.tar.gz
Remove FSIRAND and FSMAXSWAP ifdefs, removing code unconditionally.
Reviewed by: kib, mckusick Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sbin/growfs/debug.c')
-rw-r--r--sbin/growfs/debug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sbin/growfs/debug.c b/sbin/growfs/debug.c
index 7b57ec7..26a5668 100644
--- a/sbin/growfs/debug.c
+++ b/sbin/growfs/debug.c
@@ -127,9 +127,7 @@ dbg_dump_hex(struct fs *sb, const char *comment, unsigned char *mem)
void
dbg_dump_fs(struct fs *sb, const char *comment)
{
-#ifdef FSMAXSNAP
int j;
-#endif /* FSMAXSNAP */
if (!dbg_log)
return;
@@ -299,7 +297,6 @@ dbg_dump_fs(struct fs *sb, const char *comment)
fprintf(dbg_log, "pendinginodes int32_t 0x%08x\n",
sb->fs_pendinginodes);
-#ifdef FSMAXSNAP
for (j = 0; j < FSMAXSNAP; j++) {
fprintf(dbg_log, "snapinum int32_t[%2d] 0x%08x\n",
j, sb->fs_snapinum[j]);
@@ -307,7 +304,6 @@ dbg_dump_fs(struct fs *sb, const char *comment)
break;
}
}
-#endif /* FSMAXSNAP */
fprintf(dbg_log, "avgfilesize int32_t 0x%08x\n",
sb->fs_avgfilesize);
fprintf(dbg_log, "avgfpdir int32_t 0x%08x\n",
OpenPOWER on IntegriCloud