summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/dosfs/msdos_eval.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2011-07-21 12:03:26 +0000
committerSebastian Huber <sebastian.huber@embedded-brains.de>2011-07-21 12:03:26 +0000
commita2900a8b4b86ae6c81392a0c9247810132e2fdf5 (patch)
treefff691decb4b89e2221934933fbb931c4022ecf9 /cpukit/libfs/src/dosfs/msdos_eval.c
parent2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-a2900a8b4b86ae6c81392a0c9247810132e2fdf5.tar.bz2
2011-07-21 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/include/rtems/libio_.h: Added rtems_filesystem_is_root_location(). * libfs/src/imfs/imfs_directory.c, libfs/src/imfs/imfs_eval.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c: Use rtems_filesystem_is_root_location().
Diffstat (limited to 'cpukit/libfs/src/dosfs/msdos_eval.c')
-rw-r--r--cpukit/libfs/src/dosfs/msdos_eval.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_eval.c b/cpukit/libfs/src/dosfs/msdos_eval.c
index c128be8ff5..9b5e0c835d 100644
--- a/cpukit/libfs/src/dosfs/msdos_eval.c
+++ b/cpukit/libfs/src/dosfs/msdos_eval.c
@@ -128,8 +128,7 @@ msdos_eval_path(
/*
* Am I at the root of this mounted filesystem?
*/
- if (pathloc->node_access ==
- pathloc->mt_entry->mt_fs_root.node_access)
+ if (rtems_filesystem_is_root_location(pathloc))
{
/*
* Am I at the root of all filesystems?
@@ -310,8 +309,7 @@ msdos_eval4make(
/*
* Am I at the root of this mounted filesystem?
*/
- if (pathloc->node_access ==
- pathloc->mt_entry->mt_fs_root.node_access)
+ if (rtems_filesystem_is_root_location(pathloc))
{
/*
* Am I at the root of all filesystems?