mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 15:50:23 +00:00
virtio_9p_create() copies the tag from "tag=" to the next comma, and the length it computes includes the comma. So a tag that is not the last option never matches the mount tag of the device: nsh> mount -t v9fs -o tag=host,trans=virtio /mnt nsh: mount: mount failed: 19 Copy only the characters of the tag. The allocation is zeroed, so one more byte terminates it. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com> |
||
|---|---|---|
| .. | ||
| client.c | ||
| client.h | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| socket_9p.c | ||
| transport.c | ||
| v9fs.c | ||
| virtio_9p.c | ||