summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unmount.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2012-10-07 17:12:49 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-10-07 17:12:49 +0200
commit8b65f389aac940a5aadcf190894fdba1b75453f2 (patch)
treebebd70ad10b3f557b4e2c740762322b173e72a57 /cpukit/libcsupport/src/unmount.c
parentfstests/fsimfsgeneric01: Avoid global state (diff)
downloadrtems-8b65f389aac940a5aadcf190894fdba1b75453f2.tar.bz2
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.
Diffstat (limited to 'cpukit/libcsupport/src/unmount.c')
-rw-r--r--cpukit/libcsupport/src/unmount.c2
1 files changed, 1 insertions, 1 deletions
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;