summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2011-02-07 22:34:10 +0000
committerChris Johns <chrisj@rtems.org>2011-02-07 22:34:10 +0000
commitebb86f28eaf96d099c0f27e5220397c5b2a81cfe (patch)
tree394f1e35c8d6f20594abd880e9d636e7ca6e999a
parentea445300989a8ed801b1af56902c3d21885f83a9 (diff)
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.
-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 ede8be154e..467a94b441 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 3afa351302..4d4ca5f143 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;
}