From 9632f83df8099d8a9125b685a73e5fd8cd021bc6 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 7 Feb 2011 22:41:37 +0000 Subject: [PATCH] 011-02-08 Brett Swimley * libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did not close an inode. --- cpukit/ChangeLog | 5 +++++ cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 6 ++++++ 2 files changed, 11 insertions(+) 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 + + * libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did + not close an inode. + 2011-02-02 Ralf Corsépius * 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; }