From 5661e1fe461be2da03359fdaaf886b1a1155062b Mon Sep 17 00:00:00 2001 From: pho Date: Wed, 27 Feb 2013 18:12:04 +0000 Subject: 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 688952f..39e08f7 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); } -- cgit v1.1