summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2011-02-07 22:41:37 +0000
committerChris Johns <chrisj@rtems.org>2011-02-07 22:41:37 +0000
commit9632f83df8099d8a9125b685a73e5fd8cd021bc6 (patch)
treec273bf9e0d72dd0e0eef8265e0999023fbf30a5f /cpukit
parent2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-9632f83df8099d8a9125b685a73e5fd8cd021bc6.tar.bz2
011-02-08 Brett Swimley <bswimley@advanced.pro>
* libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did not close an inode.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libfs/src/rfs/rtems-rfs-rtems.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index c8cc5854b0..e24490c767 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-08 Brett Swimley <bswimley@advanced.pro>
+
+ * libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did
+ not close an inode.
+
2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
diff --git a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c
index b5d665e159..969f1951a9 100644
--- a/cpukit/libfs/src/rfs/rtems-rfs-rtems.c
+++ b/cpukit/libfs/src/rfs/rtems-rfs-rtems.c
@@ -151,7 +151,10 @@ rtems_rfs_rtems_eval_path (const char* path,
if (rtems_rfs_current_dir (node))
{
if (*path)
+ {
+ rtems_rfs_inode_close (fs, &inode);
continue;
+ }
break;
}
@@ -337,7 +340,10 @@ rtems_rfs_rtems_eval_for_make (const char* path,
if (rtems_rfs_current_dir (node))
{
if (*path)
+ {
+ rtems_rfs_inode_close (fs, &inode);
continue;
+ }
break;
}