summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/memfile.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-02-05 16:14:59 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-02-12 20:53:34 +0100
commit24ec25d2aee6dde7b572f27694e9a62e34a6603f (patch)
tree8ddad5b14af063c867e630fe5234f9b0078a539c /cpukit/libfs/src/imfs/memfile.c
parentFilesystem: Use ENOTSUP for default mount/unmount (diff)
downloadrtems-24ec25d2aee6dde7b572f27694e9a62e34a6603f.tar.bz2
IMFS: Introduce IMFS_mknod_control
Drop IMFS_node_control::node_size field and add node_size parameter to IMFS_allocate_node() and IMFS_create_node(). This reduces the size of generic nodes.
Diffstat (limited to 'cpukit/libfs/src/imfs/memfile.c')
-rw-r--r--cpukit/libfs/src/imfs/memfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libfs/src/imfs/memfile.c b/cpukit/libfs/src/imfs/memfile.c
index 563001a728..59da9a6c1b 100644
--- a/cpukit/libfs/src/imfs/memfile.c
+++ b/cpukit/libfs/src/imfs/memfile.c
@@ -88,7 +88,7 @@ int IMFS_linfile_open(
uint32_t count = file->File.size;
const unsigned char *buffer = file->Linearfile.direct;
- file->Node.control = &IMFS_node_control_memfile;
+ file->Node.control = &IMFS_mknod_control_memfile.node_control;
file->File.size = 0;
file->Memfile.indirect = 0;
file->Memfile.doubly_indirect = 0;