HomeFreeBSD

virtio_p9fs: Simplify vt9p_req_wait() a bit

Description

virtio_p9fs: Simplify vt9p_req_wait() a bit

Remove an always-false check for whether the request has already
completed before sleeping. Even if the request is complete, the
response tag is updated while holding the channel lock, which is also
held here.

No functional change intended.

Sponsored by: Klara, Inc.

Details

Provenance
markjAuthored on Fri, Oct 25, 5:52 PM
Parents
rG1f6f247b3526: virtio_p9fs: Check for completions after enabling interrupts
Branches
Unknown
Tags
Unknown