mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 06:08:20 +00:00
Properly initialize location variable.
This commit is contained in:
@@ -58,6 +58,14 @@ int IMFS_fsunmount(
|
||||
*/
|
||||
|
||||
jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;
|
||||
loc = temp_mt_entry->mt_fs_root;
|
||||
|
||||
|
||||
/*
|
||||
* Set this to null to indicate that it is being unmounted.
|
||||
*/
|
||||
|
||||
temp_mt_entry->mt_fs_root.node_access = NULL;
|
||||
|
||||
do {
|
||||
next = jnode->Parent;
|
||||
|
||||
@@ -58,6 +58,14 @@ int IMFS_fsunmount(
|
||||
*/
|
||||
|
||||
jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;
|
||||
loc = temp_mt_entry->mt_fs_root;
|
||||
|
||||
|
||||
/*
|
||||
* Set this to null to indicate that it is being unmounted.
|
||||
*/
|
||||
|
||||
temp_mt_entry->mt_fs_root.node_access = NULL;
|
||||
|
||||
do {
|
||||
next = jnode->Parent;
|
||||
|
||||
@@ -58,6 +58,14 @@ int IMFS_fsunmount(
|
||||
*/
|
||||
|
||||
jnode = (IMFS_jnode_t *)temp_mt_entry->mt_fs_root.node_access;
|
||||
loc = temp_mt_entry->mt_fs_root;
|
||||
|
||||
|
||||
/*
|
||||
* Set this to null to indicate that it is being unmounted.
|
||||
*/
|
||||
|
||||
temp_mt_entry->mt_fs_root.node_access = NULL;
|
||||
|
||||
do {
|
||||
next = jnode->Parent;
|
||||
|
||||
Reference in New Issue
Block a user