summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/src/unlink.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/unlink.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/unlink.c')
-rw-r--r--cpukit/libcsupport/src/unlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/unlink.c b/cpukit/libcsupport/src/unlink.c
index 2a3b1c75a8..a007cc293b 100644
--- a/cpukit/libcsupport/src/unlink.c
+++ b/cpukit/libcsupport/src/unlink.c
@@ -35,7 +35,7 @@ int unlink( const char *path )
parent_eval_flags
);
- if ( !rtems_filesystem_location_is_root( currentloc ) ) {
+ if ( !rtems_filesystem_location_is_instance_root( currentloc ) ) {
const rtems_filesystem_operations_table *ops = currentloc->mt_entry->ops;
rv = (*ops->rmnod_h)( &parentloc, currentloc );