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.


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

Reply via email to