[Midnightbsd-cvs] src [8909] trunk/sbin/tunefs/tunefs.c: The journal file needs to reside on the ROTINO

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Mon Sep 26 18:43:53 EDT 2016


Revision: 8909
          http://svnweb.midnightbsd.org/src/?rev=8909
Author:   laffer1
Date:     2016-09-26 18:43:52 -0400 (Mon, 26 Sep 2016)
Log Message:
-----------
The journal file needs to reside on the ROTINO

Modified Paths:
--------------
    trunk/sbin/tunefs/tunefs.c

Modified: trunk/sbin/tunefs/tunefs.c
===================================================================
--- trunk/sbin/tunefs/tunefs.c	2016-09-26 22:42:58 UTC (rev 8908)
+++ trunk/sbin/tunefs/tunefs.c	2016-09-26 22:43:52 UTC (rev 8909)
@@ -672,7 +672,7 @@
 				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 Midnightbsd-cvs mailing list