Re: [PATCH v3] loop: Fix NULL pointer dereference in lo_rw_aio()

From: Qu Wenruo

Date: Mon Jun 01 2026 - 18:28:58 EST




在 2026/6/2 01:59, Brian Foster 写道:
On Mon, Jun 01, 2026 at 04:40:34PM +0200, Christoph Hellwig wrote:
On Thu, May 28, 2026 at 07:46:24PM +0930, Qu Wenruo wrote:
e.g. 9c7504aa72b6 ("xfs: track and serialize in-flight async buffers against
unmount")
Considering the xfs fix is pretty old, it's before the fix hint thus no
such mention in fstests.

Do you happen to know which test case is for that fix?
I'd like to adapt it for btrfs as a reproducer.

No. Adding Brian who authored that commit.


I haven't followed through the full thread here... But if you're just
looking for an existing test case associated with the commit above on
XFS, I did some quick digging and xfs/311 is the original reproducer for
that one.

Thanks a lot! I'll use the same delayed umount to verify the behavior of btrfs.

Thanks,
Qu


Brian