RTEMS | bsps/shared/dev/flash: Fix read-only JFFS2 mount option (!1387)
Avi Weiss (@thnkslprpt)
gitlab at rtems.org
Sun Aug 2 15:10:36 UTC 2026
Avi Weiss created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1387
Project:Branches: thnkslprpt/rtems:fix-jffs2-mount-option-bug to rtems/rtos/rtems:main
Author: Avi Weiss
## Summary
Open works correclty with the `read_only` argument but mount ignores and always uses `READ_WRITE`.
Use `RTEMS_FILESYSTEM_READ_ONLY` when `read_only` is `true` so the filesystem rejects write operations (and does not perform erase operations) when under a read-only mount.
<!-- Default settings, if it is a dropdown it will set after submission -->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1387
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-dwairy1gzoa01ojf6rj5c4ume-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260802/e47a8c71/attachment.htm>
More information about the bugs
mailing list