nuttx/fs/v9fs
Marco Casaroli 8308e4b782 fs/v9fs: Do not copy the comma after the virtio tag.
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>
2026-10-08 13:29:48 +08:00
..
client.c fs/v9fs: Do not parse past the end of the mount options. 2026-10-08 13:29:48 +08:00
client.h
CMakeLists.txt
Kconfig
Make.defs
socket_9p.c
transport.c
v9fs.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
virtio_9p.c fs/v9fs: Do not copy the comma after the virtio tag. 2026-10-08 13:29:48 +08:00