HomeFreeBSD

cluster_write(): do not access buffer after it is released

Description

cluster_write(): do not access buffer after it is released

The issue was reported by
Alexander Lochmann <alexander.lochmann@tu-dortmund.de>,
who found the problem by performing lock analysis using LockDoc,
see https://doi.org/10.1145/3302424.3303948.

Reviewed by: mckusick
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D31780

Details

Provenance
kibAuthored on Sep 2 2021, 4:04 AM
Reviewer
mckusick
Differential Revision
D31780: cluster_write(): do not access buffer after it is released
Parents
rG6352bbf7be9b: vmem: disable debug.vmem_check by default
Branches
Unknown
Tags
Unknown