Replicable file-system corruption due to fsck/ufs
Kirk McKusick
mckusick at mckusick.com
Sat Apr 13 13:35:41 UTC 2019
> Date: Sat, 13 Apr 2019 14:32:45 +0200
> From: Peter Holm <peter at holm.cc>
> To: Kirk McKusick <mckusick at mckusick.com>
> Cc: Jamie Landeg-Jones <jamie at catflap.org>, jamie at catflap.dyslexicfish.net,
> Warner Losh <imp at bsdimp.com>, freebsd-stable at freebsd.org
> Subject: Re: Replicable file-system corruption due to fsck/ufs
>
> 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.
Kirk
More information about the freebsd-stable
mailing list