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.


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

Reply via email to