svn commit: r247900 - stable/9/sbin/tunefs
Peter Holm
pho at FreeBSD.org
Wed Mar 6 20:03:00 UTC 2013
Author: pho
Date: Wed Mar 6 20:02:19 2013
New Revision: 247900
URL: http://svnweb.freebsd.org/changeset/base/247900
Log:
MFC r247399:
The .journal file needs to reside on the ROOTINO which must not extend
beyond direct blocks. A typo caused this check to fail.
Modified:
stable/9/sbin/tunefs/tunefs.c
Directory Properties:
stable/9/sbin/tunefs/ (props changed)
Modified: stable/9/sbin/tunefs/tunefs.c
==============================================================================
--- stable/9/sbin/tunefs/tunefs.c Wed Mar 6 19:59:42 2013 (r247899)
+++ stable/9/sbin/tunefs/tunefs.c Wed Mar 6 20:02:19 2013 (r247900)
@@ -672,7 +672,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);
}
More information about the svn-src-stable-9
mailing list