Properly initialize location variable.

This commit is contained in:
Joel Sherrill
1999-11-02 16:22:58 +00:00
parent f5a1fe913b
commit ac8adcf06f
4 changed files with 32 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;