summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unmount.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2008-07-03 01:37:38 +0000
committerChris Johns <chrisj@rtems.org>2008-07-03 01:37:38 +0000
commit72d2ec4da4ea788335adf921faebf0ac96d67c93 (patch)
treef50017188d1482928932df90c96985a0748616cd /cpukit/libcsupport/src/unmount.c
parent2008-07-03 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-72d2ec4da4ea788335adf921faebf0ac96d67c93.tar.bz2
2008-07-03 Chris Johns <chrisj@rtems.org>
* cpukit/libcsupport/include/chain.h: Removed. Use the SAPI interface that is supported. * cpukit/libcsupport/Makefile.am, cpukit/libcsupport/preinstall.am: Remove chain.h header references. * cpukit/sapi/include/rtems/chain.h, cpukit/sapi/inline/rtems/chain.inl: New. A supported chains interface. * cpukit/sapi/Makefile.am, cpukit/sapi/preinstall.am: Updated to include the new chains interface. * cpukit/libfs/src/imfs/imfs.h, cpukit/libfs/src/imfs/imfs_creat.c, cpukit/libfs/src/imfs/imfs_debug.c, cpukit/libfs/src/imfs/imfs_directory.c, cpukit/libfs/src/imfs/imfs_fsunmount.c, cpukit/libfs/src/imfs/imfs_getchild.c, cpukit/libfs/src/imfs/imfs_load_tar.c, cpukit/libfs/src/imfs/imfs_rmnod.c, cpukit/libfs/src/imfs/memfile.c, cpukit/libfs/src/nfsclient/src/nfs.c, cpukit/libcsupport/include/rtems/libio.h, cpukit/libcsupport/src/malloc_deferred.c, cpukit/libcsupport/src/mount.c, cpukit/libcsupport/src/privateenv.c, cpukit/libcsupport/src/unmount.c: Change to the new chains interface. * cpukit/libcsupport/src/malloc_boundary.c: Remove warning.
Diffstat (limited to '')
-rw-r--r--cpukit/libcsupport/src/unmount.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libcsupport/src/unmount.c b/cpukit/libcsupport/src/unmount.c
index f37d3f2e56..422e89ea6e 100644
--- a/cpukit/libcsupport/src/unmount.c
+++ b/cpukit/libcsupport/src/unmount.c
@@ -37,7 +37,7 @@
* Data structures and routines private to mount/unmount pair.
*/
-extern Chain_Control rtems_filesystem_mount_table_control;
+extern rtems_chain_control rtems_filesystem_mount_table_control;
int search_mt_for_mount_point(
rtems_filesystem_location_info_t *location_of_mount_point
@@ -69,7 +69,7 @@ rtems_boolean file_systems_below_this_mountpoint(
rtems_filesystem_mount_table_entry_t *fs_to_unmount
)
{
- Chain_Node *the_node;
+ rtems_chain_node *the_node;
rtems_filesystem_mount_table_entry_t *the_mount_entry;
/*
@@ -78,7 +78,7 @@ rtems_boolean file_systems_below_this_mountpoint(
*/
for ( the_node = rtems_filesystem_mount_table_control.first;
- !Chain_Is_tail( &rtems_filesystem_mount_table_control, the_node );
+ !rtems_chain_is_tail( &rtems_filesystem_mount_table_control, the_node );
the_node = the_node->next ) {
the_mount_entry = ( rtems_filesystem_mount_table_entry_t * )the_node;
if (the_mount_entry->mt_point_node.mt_entry == fs_root_loc->mt_entry ) {
@@ -205,7 +205,7 @@ int unmount(
* Extract the mount table entry from the chain
*/
- Chain_Extract( ( Chain_Node * ) mt_entry );
+ rtems_chain_extract( ( rtems_chain_node * ) mt_entry );
/*
* Free the memory node that was allocated in mount