diff options
author | Chris Johns <chrisj@rtems.org> | 2011-02-07 22:34:10 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2011-02-07 22:34:10 +0000 |
commit | ebb86f28eaf96d099c0f27e5220397c5b2a81cfe (patch) | |
tree | 394f1e35c8d6f20594abd880e9d636e7ca6e999a /cpukit | |
parent | ea445300989a8ed801b1af56902c3d21885f83a9 (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.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 6 |
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; } |