diff options
author | pho <pho@FreeBSD.org> | 2013-02-27 18:12:04 +0000 |
---|---|---|
committer | pho <pho@FreeBSD.org> | 2013-02-27 18:12:04 +0000 |
commit | 5661e1fe461be2da03359fdaaf886b1a1155062b (patch) | |
tree | 32faf80495676fb60d749a1339e6bf0131220f95 | |
parent | 18e9a0422b52091035dae9d69bde9dd571a8ff7e (diff) | |
download | FreeBSD-src-5661e1fe461be2da03359fdaaf886b1a1155062b.zip FreeBSD-src-5661e1fe461be2da03359fdaaf886b1a1155062b.tar.gz |
The .journal file needs to reside on the ROOTINO which must not extend
beyond direct blocks. A typo caused this check to fail.
-rw-r--r-- | sbin/tunefs/tunefs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |