RTEMS | Ported LittleFS (!1064)
Gedare Bloom (@gedare)
gitlab at rtems.org
Mon Mar 30 20:01:33 UTC 2026
Gedare Bloom started a new discussion on cpukit/libfs/src/littlefs/rtems-littlefs-file.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_147512
> + lfs = rtems_littlefs_get_lfs( mt_entry );
> +
> + rtems_littlefs_lock( mt_entry );
> +
> + if ( node == NULL || node->is_directory ) {
> + rtems_littlefs_unlock( mt_entry );
> + rtems_set_errno_and_return_minus_one( EISDIR );
> + }
> +
> + if ( !node->is_open ) {
> + rtems_littlefs_unlock( mt_entry );
> + return 0;
> + }
> +
> + // node->file_handle.flags &= ~LFS_F_ERRED;
> + // node->file_handle.flags |= LFS_F_DIRTY;
why are these commented out?
Do not comment out code.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_147512
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260330/92714176/attachment-0001.htm>
More information about the bugs
mailing list