From 9632f83df8099d8a9125b685a73e5fd8cd021bc6 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 7 Feb 2011 22:41:37 +0000 Subject: 011-02-08 Brett Swimley * libfs/src/rfs/rtems-rfs-rtems.c: Fix bug where the eval path did not close an inode. --- cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpukit/libfs') 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; } -- cgit v1.2.3