Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Aug 2012 05:30:51 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r239559 - stable/9/sbin/fsck_ffs
Message-ID:  <201208220530.q7M5Upk7073229@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Wed Aug 22 05:30:51 2012
New Revision: 239559
URL: http://svn.freebsd.org/changeset/base/239559

Log:
  MFC r238984:
  fsck_ffs shall accept the configured journal size, and not refuse to
  operate on it if journal size is greater then SUJ_MAX. The later
  constant is only to select maximal journal size when user did not
  specified size explicitely.

Modified:
  stable/9/sbin/fsck_ffs/suj.c
Directory Properties:
  stable/9/sbin/fsck_ffs/   (props changed)

Modified: stable/9/sbin/fsck_ffs/suj.c
==============================================================================
--- stable/9/sbin/fsck_ffs/suj.c	Wed Aug 22 05:28:55 2012	(r239558)
+++ stable/9/sbin/fsck_ffs/suj.c	Wed Aug 22 05:30:51 2012	(r239559)
@@ -2383,7 +2383,7 @@ suj_verifyino(union dinode *ip)
 		return (-1);
 	}
 
-	if (DIP(ip, di_size) < SUJ_MIN || DIP(ip, di_size) > SUJ_MAX) {
+	if (DIP(ip, di_size) < SUJ_MIN) {
 		printf("Invalid size %jd for journal inode %d\n",
 		    DIP(ip, di_size), sujino);
 		return (-1);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208220530.q7M5Upk7073229>