git: 2418508f4900 - stable/13 - Flush and close getnextino cache when done using it in Pass 1b.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 11 Dec 2022 00:38:19 UTC
The branch stable/13 has been updated by mckusick: URL: https://cgit.FreeBSD.org/src/commit/?id=2418508f49002c0bb23341fbd3179985c5b34437 commit 2418508f49002c0bb23341fbd3179985c5b34437 Author: Kirk McKusick <mckusick@FreeBSD.org> AuthorDate: 2022-09-03 21:15:50 +0000 Commit: Kirk McKusick <mckusick@FreeBSD.org> CommitDate: 2022-12-11 00:37:17 +0000 Flush and close getnextino cache when done using it in Pass 1b. (cherry picked from commit cf17c2ff11a9e027e92bebdb3eb3fec6727c9c03) 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