RTEMS | Ported LittleFS (!1064)

Gedare Bloom (@gedare) gitlab at rtems.org
Mon Mar 30 20:02:24 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_147513

 > +
 > +  node->is_open = false;
 > +
 > +  if ( node->is_dirty ) {
 > +    rc = rtems_littlefs_set_attr( lfs, node );
 > +    if ( rc < 0 ) {
 > +      rtems_littlefs_unlock( mt_entry );
 > +      errno = rtems_littlefs_to_posix_error( rc );
 > +      return -1;
 > +    }
 > +    node->is_dirty = false;
 > +  }
 > +
 > +  rtems_littlefs_unlock( mt_entry );
 > +
 > +  if ( rc < 0 ) {

is this possible?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_147513
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/549ab191/attachment.htm>


More information about the bugs mailing list