diff options
author | Chris Johns <chrisj@rtems.org> | 2011-07-04 00:27:36 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2011-07-04 00:27:36 +0000 |
commit | a10f0ede0db4e96834db5cb57e9c392e65d3762a (patch) | |
tree | 01eb1ba89057d5d7a8cef87ff919cca6cce7b99a /cpukit/libfs | |
parent | 2011-04-10 Kate Feng <feng@bnl.gov> (diff) | |
download | rtems-a10f0ede0db4e96834db5cb57e9c392e65d3762a.tar.bz2 |
2011-07-04 Chris Johns <chrisj@rtems.org>
PR 1827/filesystem
* libfs/src/rfs/rtems-rfs-rtems.c: Skip the parent (..) path value
when eval make moving up out of the RFS file system.
Diffstat (limited to 'cpukit/libfs')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c index 4d4ca5f143..ac9ae4abdd 100644 --- a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c +++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c @@ -367,7 +367,7 @@ rtems_rfs_rtems_eval_for_make (const char* path, rtems_rfs_inode_close (fs, &inode); rtems_rfs_rtems_unlock (fs); *pathloc = pathloc->mt_entry->mt_point_node; - return (*pathloc->ops->evalformake_h)(path - node_len, pathloc, name); + return (*pathloc->ops->evalformake_h)(path + 2, pathloc, name); } /* |