mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-08-29 05:51:48 +08:00
Fixed typo where memfile_handlers set twice and directory_handlers
was not set.
This commit is contained in:
@@ -70,9 +70,9 @@ int IMFS_initialize_support(
|
||||
* Set st_ino for the root to 1.
|
||||
*/
|
||||
|
||||
fs_info->ino_count = 1;
|
||||
fs_info->memfile_handlers = memfile_handlers;
|
||||
fs_info->memfile_handlers = directory_handlers;
|
||||
fs_info->ino_count = 1;
|
||||
fs_info->memfile_handlers = memfile_handlers;
|
||||
fs_info->directory_handlers = directory_handlers;
|
||||
|
||||
jnode = temp_mt_entry->mt_fs_root.node_access;
|
||||
jnode->st_ino = fs_info->ino_count;
|
||||
|
||||
@@ -70,9 +70,9 @@ int IMFS_initialize_support(
|
||||
* Set st_ino for the root to 1.
|
||||
*/
|
||||
|
||||
fs_info->ino_count = 1;
|
||||
fs_info->memfile_handlers = memfile_handlers;
|
||||
fs_info->memfile_handlers = directory_handlers;
|
||||
fs_info->ino_count = 1;
|
||||
fs_info->memfile_handlers = memfile_handlers;
|
||||
fs_info->directory_handlers = directory_handlers;
|
||||
|
||||
jnode = temp_mt_entry->mt_fs_root.node_access;
|
||||
jnode->st_ino = fs_info->ino_count;
|
||||
|
||||
@@ -70,9 +70,9 @@ int IMFS_initialize_support(
|
||||
* Set st_ino for the root to 1.
|
||||
*/
|
||||
|
||||
fs_info->ino_count = 1;
|
||||
fs_info->memfile_handlers = memfile_handlers;
|
||||
fs_info->memfile_handlers = directory_handlers;
|
||||
fs_info->ino_count = 1;
|
||||
fs_info->memfile_handlers = memfile_handlers;
|
||||
fs_info->directory_handlers = directory_handlers;
|
||||
|
||||
jnode = temp_mt_entry->mt_fs_root.node_access;
|
||||
jnode->st_ino = fs_info->ino_count;
|
||||
|
||||
@@ -70,9 +70,9 @@ int IMFS_initialize_support(
|
||||
* Set st_ino for the root to 1.
|
||||
*/
|
||||
|
||||
fs_info->ino_count = 1;
|
||||
fs_info->memfile_handlers = memfile_handlers;
|
||||
fs_info->memfile_handlers = directory_handlers;
|
||||
fs_info->ino_count = 1;
|
||||
fs_info->memfile_handlers = memfile_handlers;
|
||||
fs_info->directory_handlers = directory_handlers;
|
||||
|
||||
jnode = temp_mt_entry->mt_fs_root.node_access;
|
||||
jnode->st_ino = fs_info->ino_count;
|
||||
|
||||
Reference in New Issue
Block a user