jerpelea opened a new pull request, #21207:
URL: https://github.com/apache/nuttx/pull/21207

   ## Summary
   
   Two v9fs fixes, and one style-only commit for an nxstyle error in v9fs.c.
   
       readdir() ended every directory with errno set to EIO. At the end of a 
directory the 9P server returns no entries, and v9fs_client_convertdir() 
returned -EIO. v9fs_vfs_readdir() now returns -ENOENT, which the VFS treats as 
the end of the directory. The bounds check for the fixed part of an entry now 
uses the bytes left after head, not the whole buffer.
       stat() returned st_ino 0 and readdir() returned d_ino 0 for every file. 
Both now come from the qid path of the file, folded into ino_t the same way, 
and never 0. Programs that skip directory entries with d_ino 0, or compare 
st_dev/st_ino, then work on a v9fs mount.
   
   ## Impact
   
   RELEASE
   
   ## Testing
   
   CI


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to