nuttx/fs/v9fs
Marco Casaroli 9eb725fe9b fs/v9fs: Set st_ino and d_ino from the qid path.
stat() returned st_ino 0 and readdir() returned d_ino 0 for every file
on a v9fs mount, although 9P identifies each file by its qid path.
Programs that skip directory entries with d_ino 0, or that compare
st_dev and st_ino to find out if two paths are the same file, do not
work on such a mount.

Fold the 64-bit qid path into ino_t the same way for both, so that they
match, and never return 0.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>
2026-10-09 06:12:58 -03:00
..
client.c fs/v9fs: Set st_ino and d_ino from the qid path. 2026-10-09 06:12:58 -03:00
client.h v9fs:socket driver 2025-01-20 17:12:14 +08:00
CMakeLists.txt v9fs:socket driver 2025-01-20 17:12:14 +08:00
Kconfig v9fs:socket driver 2025-01-20 17:12:14 +08:00
Make.defs v9fs:socket driver 2025-01-20 17:12:14 +08:00
socket_9p.c v9fs:socket driver 2025-01-20 17:12:14 +08:00
transport.c v9fs:socket driver 2025-01-20 17:12:14 +08:00
v9fs.c fs/v9fs: Report the end of a directory as the end, not as an error. 2026-10-09 06:12:58 -03:00
virtio_9p.c fs/v9fs: Do not copy the comma after the virtio tag. 2026-10-08 13:29:48 +08:00