Loris Nardo created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5070



## Summary
The testcase regarding the `rename` with `LINK_MAX` assumes that every file 
(folder in that case) counts a link towards the parent folder, and thus moving 
one more folder from outside into the parent folder fails with `ENOLINK`.

FAT, RFS, JFFS2 and IMFS however seem to not care about the parent link to the 
folder.

For what I can see in the code, only the IMFS file system can yield back 
`ENOLINK` from `IMFS_link`.

In addition FAT, RFS and JFFS2 do not set a different value for `LINK_MAX` 
during mounting, causing the value of `LINK_MAX` to be always 5 (the default) 
for these file systems.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5070
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to