Removed duplicated call to unmount filesystem.

This commit is contained in:
Joel Sherrill
2000-05-19 19:02:30 +00:00
parent 459d051bcf
commit fb4541be87

View File

@@ -62,7 +62,6 @@ int unmount(
int status; int status;
rtems_filesystem_location_info_t temp_loc; rtems_filesystem_location_info_t temp_loc;
rtems_filesystem_mount_table_entry_t temp_mt_entry; rtems_filesystem_mount_table_entry_t temp_mt_entry;
int result;
/* /*
* Are there any file systems below the mount_path specified * Are there any file systems below the mount_path specified
@@ -101,7 +100,7 @@ int unmount(
/* /*
* Allow the file system being mounted on to do its cleanup. * Allow the file system being mounted on to do its cleanup.
* XXX - Did I change these correctly ??? It looks like either I did * XXX - Did I change these correctly ??? It looks like either I did
* XXX this backwards or the IMFS_unmount and IMFS_fsumount are swaped. * XXX this backwards or the IMFS_unmount and IMFS_fsumount are swapped.
* XXX Add to the mt_point_node unmount to set the mt_entry back to null * XXX Add to the mt_point_node unmount to set the mt_entry back to null
* XXX I will step off in space when evaluating past the end of the node. * XXX I will step off in space when evaluating past the end of the node.
*/ */
@@ -120,12 +119,6 @@ int unmount(
return -1; return -1;
} }
/*
* Allow the file system to clean up.
*/
result = (*temp_loc.ops->fsunmount_me)( temp_loc.mt_entry );
/* /*
* Extract the mount table entry from the chain * Extract the mount table entry from the chain
*/ */
@@ -140,8 +133,6 @@ int unmount(
free( temp_loc.mt_entry ); free( temp_loc.mt_entry );
rtems_filesystem_freenode( &temp_loc ); rtems_filesystem_freenode( &temp_loc );
return result;
} }