HomeFreeBSD

p9fs: Use UNLINKAT instead of REMOVE to implement removals

Description

p9fs: Use UNLINKAT instead of REMOVE to implement removals

REMOVE doesn't work properly in the face of hard links. Use UNLINKAT
instead, which is implemented by qemu and bhyve and lets the client
specify the name being removed.

PR: 282432
Reviewed by: dfr
Differential Revision: https://reviews.freebsd.org/D47438

(cherry picked from commit 1d99e8d9a37e1ba528628186df57b79fe74e196c)

Details

Provenance
markjAuthored on Nov 7 2024, 6:23 PM
arrowdCommitted on Jul 4 2025, 1:28 PM
Reviewer
dfr
Differential Revision
D47438: p9fs: Use UNLINKAT instead of REMOVE to implement removals
Parents
rGf3478cfc7817: virtio_p9fs: Fix handling of a full request queue
Branches
Unknown
Tags
Unknown