Gedare Bloom commented on a discussion on cpukit/libblock/src/flashdisk.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/912#note_141090 > > return RTEMS_SUCCESSFUL; > } > + > +static void rtems_fdisk_cleanup_helper (rtems_flashdisk *fd, bool > *mutex_initialized) > +{ > + uint32_t device; > + > + if(fd == NULL) > + return; > + > + if((*mutex_initialized) == false) { > + (*mutex_initialized) = true; > + } else { > + rtems_mutex_destroy(&fd->lock); Take a look at what happens in the mutex `init` then to see if you can make that determination. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/912#note_141090 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
