HomeFreeBSD

p9fs: fix lookup of "." for lib9p-based 9P servers

Description

p9fs: fix lookup of "." for lib9p-based 9P servers

The lib9p implementation takes a strict interpretation of the Twalk RPC
call and returns an error for attempts to lookup ".". The workaround is
to fake the lookup locally.

Reviewed by: Val Packett <val@packett.cool>
MFC after: 3 months

(cherry picked from commit 56e4622588ed2eec0197ac47c3059d3db439f5c0)

Details

Provenance
dfrAuthored on Jun 24 2024, 11:22 AM
arrowdCommitted on Jul 4 2025, 1:28 PM
Parents
rGab63bdaf1d1f: p9fs: Fix the build for 32-bit kernels
Branches
Unknown
Tags
Unknown