On Fri, May 26, 2023 at 12:47 AM <linan666@xxxxxxxxxxxxxxx> wrote: }
To make sure I understand the issue correctly:
The null-ptr-deref only happens when the Faulty bit was set after the
last check and before this check below, right?
- if (mreplace && test_bit(Faulty, &mreplace->flags))
- mreplace = NULL;
/* Unless we are doing a full sync, or a replacement
* we only need to recover the block if it is set in
* the bitmap
Thanks,
Song