diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-02-23 17:57:27 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-03-13 12:24:15 +0100 |
commit | 1bdff036acddbbc63aa849741abba6581549f7b6 (patch) | |
tree | 8cc1f06ac93045d8a7c35da41fd926c2d9e840f1 /cpukit/libfs/src/imfs/imfs_handlers_memfile.c | |
parent | IMFS: Use unprotected chain operations (diff) | |
download | rtems-1bdff036acddbbc63aa849741abba6581549f7b6.tar.bz2 |
IMFS: Reference counting for nodes
The introduction of reference counting of nodes avoids the removal of
open nodes and potential usage of freed memory.
Diffstat (limited to 'cpukit/libfs/src/imfs/imfs_handlers_memfile.c')
-rw-r--r-- | cpukit/libfs/src/imfs/imfs_handlers_memfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_handlers_memfile.c b/cpukit/libfs/src/imfs/imfs_handlers_memfile.c index e179eabf44..10cba9477b 100644 --- a/cpukit/libfs/src/imfs/imfs_handlers_memfile.c +++ b/cpukit/libfs/src/imfs/imfs_handlers_memfile.c @@ -23,7 +23,7 @@ const rtems_filesystem_file_handlers_r IMFS_memfile_handlers = { memfile_open, - memfile_close, + rtems_filesystem_default_close, memfile_read, memfile_write, memfile_ioctl, |