mirror of
https://github.com/apache/nuttx.git
synced 2026-10-10 07:40:27 +00:00
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> |
||
|---|---|---|
| .. | ||
| client.c | ||
| client.h | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| socket_9p.c | ||
| transport.c | ||
| v9fs.c | ||
| virtio_9p.c | ||