change log for rtems (2010-06-10)

Chris Johns chrisj at rtems.org
Fri Jun 11 12:22:22 UTC 2010


On 11/06/10 4:59 PM, Sebastian Huber wrote:
>
> I changed the mt_entry allocation entirely, see alloc_mount_table_entry().  The
> source, target and filesystemtype strings will be copied now.
>

Ah yes I see now.

> The problem with your first approach was that you simply assigned the type
> pointer of the file system table entry to the mount table entry.  It is
> possible that a file system table entry vanishes with
> rtems_filesystem_unregister() and thus the storage of the type string.

I did consider this but decided the hanging pointer would be the least 
of your worries. An unregister should fail if a file system is in use.

Your fix is a much better solution. Thanks.

Chris



More information about the vc mailing list