diff options
author | Chris Johns <chrisj@rtems.org> | 2011-02-07 22:41:37 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2011-02-07 22:41:37 +0000 |
commit | 9632f83df8099d8a9125b685a73e5fd8cd021bc6 (patch) | |
tree | c273bf9e0d72dd0e0eef8265e0999023fbf30a5f /cpukit/libfs | |
parent | 2011-02-02 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff) | |
download | rtems-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/libfs')
-rw-r--r-- | cpukit/libfs/src/rfs/rtems-rfs-rtems.c | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |