[Bug 1517] mount does not use the provided filesystem handler table functions

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Jun 7 11:40:54 UTC 2010


https://www.rtems.org/bugzilla/show_bug.cgi?id=1517





--- Comment #10 from Sebastian Huber <sebastian.huber at embedded-brains.de>  2010-06-07 06:40:52 ---
Some comments to the new mount infrastructure.

1. rtems_filesystem_unregister() is not thread-safe.

2. We should remove rtems_filesystem_mounts_first() and
rtems_filesystem_mounts_next () and replace this with

/* Return true to continue the iteration and false to stop. */
typedef bool (rtems_filesystem_per_mount_routine)(
  rtems_filesystem_mount_table_entry_t *entry,
  void *arg
);
void rtems_filesystem_mount_iterate(
  rtems_filesystem_per_mount_routine routine,
  void *routine_arg
);

The previous functions expose implementation details and are not thread-safe.

3. See 2. with rtems_filesystem_table_first() and
rtems_filesystem_table_next().

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list