Kirk McKusick 345bfec109 Provide cache coherency between getnextinode() and ginode()
The fsck_ffs(8) utility has two subsystems for reading and writing
inodes. The getnextinode() interface is used in Pass 1 (and Pass
1b if needed) to sequentially walk through all the inodes in the
filesystem. The ginode() interface is used to read and write
individual inodes. Pass 1 uses a mix of both interfaces. This
change ensures that ginode() returns a pointer to the inode in the
cache maintained by getnextinode() when that interface holds the
requested inode so that all modifications to the inode are made in
a single place and are all written to the disk together.

Reported by:  Peter Holm
Tested by:    Peter Holm
Sponsored by: The FreeBSD Foundation
2022-08-23 23:48:40 -07:00
..
2022-07-18 22:06:15 +00:00
2022-05-07 09:55:40 -06:00
2022-01-12 13:52:23 +08:00
2022-06-17 10:36:17 +01:00
2022-07-07 07:53:45 -07:00
2021-12-07 11:40:22 +01:00
2022-01-08 12:45:46 +02:00
2021-09-11 20:04:52 +08:00
2020-10-09 14:03:45 +00:00
2020-11-26 04:29:30 +00:00
2022-06-30 16:22:01 +02:00
2022-07-19 08:59:53 -07:00