From 14951d42342055e20e135415d68c44ec966ec3d3 Mon Sep 17 00:00:00 2001 From: Peter Holm Date: Wed, 27 Feb 2013 18:12:04 +0000 Subject: [PATCH] The .journal file needs to reside on the ROOTINO which must not extend beyond direct blocks. A typo caused this check to fail. --- sbin/tunefs/tunefs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbin/tunefs/tunefs.c b/sbin/tunefs/tunefs.c index 688952fc790a..39e08f760904 100644 --- a/sbin/tunefs/tunefs.c +++ b/sbin/tunefs/tunefs.c @@ -671,7 +671,7 @@ journal_findfile(void) return (ino); } } else { - if ((off_t)dp1->di_size >= lblktosize(&sblock, NDADDR)) { + if ((off_t)dp2->di_size >= lblktosize(&sblock, NDADDR)) { warnx("ROOTINO extends beyond direct blocks."); return (-1); }