From nobody Sat Sep 03 21:17:10 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MKnfZ5cQnz4bYy5; Sat, 3 Sep 2022 21:17:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MKnfZ55Bmz48kq; Sat, 3 Sep 2022 21:17:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662239830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=76b8bCRTKo7HJq16nOY1Zn3WN3jrqEetEFCETACm520=; b=Kpp9pof+yiMs/sM13JPN/LMwrH6qaNoLeIZoX4qDpp4RsOIuAoeRVcawhBXVOOtcyqLHAx 0o7QQgY9rGQxUQ28ht8ZcI0QJJKEEsu1T/M20VDCIJI8Td0dtVrkiM9QCNrNiX0TTuOvSL izLLRWKOhiwVA6fUgXUC3LrkmluXqHOXbG+TYLFUIMaZe96yyrb0vwOWXXQiZ+2bX2UyEA K9tI0G/tyiIueDQFbLx4r1gK9bTAL/ZkvfOk49MGiY5zqtOaDFfSZj5DNDHqV4hKE/1s7x 9tOIOpYSEJN7T16NZ9+oVRflXNI4Rp5IkYPF/M5og7E1W1prrczNeHsgXiH7Sg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MKnfZ41qKzGn0; Sat, 3 Sep 2022 21:17:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 283LHAQj083689; Sat, 3 Sep 2022 21:17:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 283LHAsI083688; Sat, 3 Sep 2022 21:17:10 GMT (envelope-from git) Date: Sat, 3 Sep 2022 21:17:10 GMT Message-Id: <202209032117.283LHAsI083688@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Kirk McKusick Subject: git: cf17c2ff11a9 - main - Flush and close getnextino cache when done using it in Pass 1b. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mckusick X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cf17c2ff11a9e027e92bebdb3eb3fec6727c9c03 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662239830; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=76b8bCRTKo7HJq16nOY1Zn3WN3jrqEetEFCETACm520=; b=UrGYMuz3JSdYQenQHcnmozOTvLcgOvdm7S3eA1uEYhlVZ4zHaLLdTuvmsg1D4YaZp5vqMW RqE1MhyDkGwnyypA17G0gyC6l3qIuzSVh4srEJEvQR9PuicF3/Wgg7iKI54NUwukQj92EZ OFE3fE9G77hhEULdJaHBJxGz9BuDffGUIRESaPv52XPQwSgsn1ZdqXwEuKTHw0Fl6AWIkX zSIawRDHeqGtGWwniAvtcw9urfmtFYn9x2IAcRT5A59Ghml3sDjlt3iI5X2L/Z3V1DMJP5 L56PUUG3ZAwPcdJKIt3ikoYOpSsqXCBJDB+Chkq8GUU3xT8/8eZ7i9q92NWj0g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662239830; a=rsa-sha256; cv=none; b=xVbi/zc4PyjPyowDUi99lTJS+PjwUkZ3/P/uQfNPAq819Hj0u2iQqHHt3TiTJPa+HrRpbB iuBiHQg8hUMaP7FLDY7O1HnOZRAtFWWzjkarwNQEmCRIuHiNSTsXalH5TUp9lVPWRTeVud s3pTQcJrgIQew8mTLwKJobYzzmfR0nzEacjz8ltTw3r0B7dJ+euKwlW33+rqcVi0cz13iP VNnPelAz6yRwMn8Y2/0evc61f1ZAl3MJ93+PkFiLq1UO6L6LEDc4FmTKvK0cyys4sYWQcG goxqNZ7nTZySPW2YkFbq468qEunYv2mWXjScZvc1k6WyPWwBbqdfVH60XUNC6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=cf17c2ff11a9e027e92bebdb3eb3fec6727c9c03 commit cf17c2ff11a9e027e92bebdb3eb3fec6727c9c03 Author: Kirk McKusick AuthorDate: 2022-09-03 21:15:50 +0000 Commit: Kirk McKusick CommitDate: 2022-09-03 21:15:50 +0000 Flush and close getnextino cache when done using it in Pass 1b. Reported by: Peter Holm Sponsored by: The FreeBSD Foundation --- sbin/fsck_ffs/pass1b.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbin/fsck_ffs/pass1b.c b/sbin/fsck_ffs/pass1b.c index 17a3b6495dc4..e2a200b8b2f2 100644 --- a/sbin/fsck_ffs/pass1b.c +++ b/sbin/fsck_ffs/pass1b.c @@ -88,10 +88,12 @@ pass1b(void) if (inoinfo(inumber)->ino_state != USTATE && (ckinode(dp, &idesc) & STOP)) { rerun = 1; + freeinodebuf(); return; } } } + freeinodebuf(); } static int