Replicable file-system corruption due to fsck/ufs
jamie at catflap.org
Thu Apr 18 21:05:05 UTC 2019
Kirk McKusick <mckusick at mckusick.com> wrote:
> > From: Peter Holm <peter at holm.cc>
> > On Fri, Apr 12, 2019 at 04:13:00PM -0700, Kirk McKusick wrote:
> >> This is indeed a bug in the calculation of the location of the last
> >> block of a file. I believe that the following patch to head will
> >> fix it.
> >> Peter, can you please test and let me know.
> >> If Peter confirms that it fixes the bug, I will check it into head
> >> and MFC it to 12-stable and 11-stable after a 2-week settle-in time.
> >> Kirk McKusick
> > Yes, this patch works for me.
> > --
> > Peter
> Great, thanks for the quick test. Now committed to head as -r346185.
Apologies for the delay in replying. Thanks Kirk for fixing this, and
thanks Peter for testing it.
The patch also applied cleanly to 12-stable, and is working there too.
More information about the freebsd-stable