HomeFreeBSD

fifofs: fifo vnode might be relocked before VOP_OPEN() is called

Description

fifofs: fifo vnode might be relocked before VOP_OPEN() is called

Handle it in fifo_close by checking for v_fifoinfo == NULL

Reported and tested by: pho
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D31310

Details

Provenance
kibAuthored on Jul 22 2021, 10:27 AM
Reviewer
markj
Differential Revision
D31310: Several fixes for nullfs and fifofs
Parents
rG4f21442e10db: null_lookup: restore dvp lock always, not only on success
Branches
Unknown
Tags
Unknown