From 8b65f389aac940a5aadcf190894fdba1b75453f2 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sun, 7 Oct 2012 17:12:49 +0200 Subject: Filesystem: Rename function Rename rtems_filesystem_location_is_root() into rtems_filesystem_location_is_instance_root() to distinguish this from the file system root directory of the current task environment. --- cpukit/libcsupport/src/unmount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libcsupport/src/unmount.c') diff --git a/cpukit/libcsupport/src/unmount.c b/cpukit/libcsupport/src/unmount.c index ad45220fd5..b888dee240 100644 --- a/cpukit/libcsupport/src/unmount.c +++ b/cpukit/libcsupport/src/unmount.c @@ -43,7 +43,7 @@ int unmount( const char *path ) rtems_filesystem_eval_path_start( &ctx, path, eval_flags ); rtems_filesystem_mount_table_entry_t *mt_entry = currentloc->mt_entry; - if ( rtems_filesystem_location_is_root( currentloc ) ) { + if ( rtems_filesystem_location_is_instance_root( currentloc ) ) { if ( !contains_root_or_current_directory( mt_entry ) ) { const rtems_filesystem_operations_table *mt_point_ops = mt_entry->mt_point_node->location.mt_entry->ops; -- cgit v1.2.3