RTEMS | Ported LittleFS (!1064)

Harshit Shivhare (@002harshit) gitlab at rtems.org
Tue Mar 31 10:50:59 UTC 2026




Harshit Shivhare commented on a discussion on cpukit/libfs/src/littlefs/rtems-littlefs-file.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1064#note_147596

 > +
 > +  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 ) {

no its not possible. I might have forgotten to remove it after refactoring. I'll remove it

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


More information about the bugs mailing list