RTEMS | imfs/imfs_statvfs: Added the statvfs functionality (!504)

Bhavya Shah (@bhavyaBeliever) gitlab at rtems.org
Thu Jun 26 17:29:45 UTC 2025




Bhavya  Shah commented on a discussion on cpukit/libfs/src/imfs/imfs_rmnod.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/504#note_125443

 >    } else {
 >      rv = -1;
 >    }
 > +  IMFS_fs_info_t *fs_info = loc->mt_entry->fs_info;

nope if fs_info is NULL then the condition is already checked in IMFS_initialize function.

loc can't be null since it is some current node which is suppose to be deleted.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/504#note_125443
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/20250626/f333a4b4/attachment.htm>


More information about the bugs mailing list