diff options
author | Peter Holm <pho@FreeBSD.org> | 2013-02-27 18:12:04 +0000 |
---|---|---|
committer | Peter Holm <pho@FreeBSD.org> | 2013-02-27 18:12:04 +0000 |
commit | 14951d42342055e20e135415d68c44ec966ec3d3 (patch) | |
tree | 32faf80495676fb60d749a1339e6bf0131220f95 /sbin/tunefs/tunefs.c | |
parent | 24245e76ea60b4d44ae0610772911daaf3f6d82e (diff) | |
download | src-14951d42342055e20e135415d68c44ec966ec3d3.tar.gz src-14951d42342055e20e135415d68c44ec966ec3d3.zip |
The .journal file needs to reside on the ROOTINO which must not extend
beyond direct blocks. A typo caused this check to fail.
Notes
Notes:
svn path=/head/; revision=247399
Diffstat (limited to 'sbin/tunefs/tunefs.c')
-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 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); } |