diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_eval.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_eval.c b/cpukit/libfs/src/imfs/imfs_eval.c index 477c09c935..b1f11b672f 100644 --- a/cpukit/libfs/src/imfs/imfs_eval.c +++ b/cpukit/libfs/src/imfs/imfs_eval.c @@ -346,7 +346,7 @@ int IMFS_evaluate_for_make( * 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? @@ -544,8 +544,7 @@ int IMFS_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? |