HomeFreeBSD

pipe_direct_write: Fix mismatched pipelock/unlock

Description

pipe_direct_write: Fix mismatched pipelock/unlock

If a signal is caught in pipelock, causing it to fail, pipe_direct_write
should not try to pipeunlock.

Reported by: pho
Differential Revision: https://reviews.freebsd.org/D3069
Reviewed by: kib
Approved by: markj (mentor)
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division

Details

Provenance
cemAuthored on
Reviewer
kib
Differential Revision
D3069: pipe_direct_write: Fix mismatched pipelock/unlock
Parents
rS285482: Fix a typo in bsdinstall
Branches
Unknown
Tags
Unknown