summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/imfs/imfs_load_tar.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/imfs_load_tar.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/imfs_load_tar.c')
-rw-r--r--cpukit/libfs/src/imfs/imfs_load_tar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libfs/src/imfs/imfs_load_tar.c b/cpukit/libfs/src/imfs/imfs_load_tar.c
index e6dc499ecf..d303cd29eb 100644
--- a/cpukit/libfs/src/imfs/imfs_load_tar.c
+++ b/cpukit/libfs/src/imfs/imfs_load_tar.c
@@ -126,6 +126,7 @@ int rtems_tarfs_load(
IMFS_create_node(
currentloc,
&IMFS_node_control_linfile,
+ sizeof( IMFS_file_t ),
rtems_filesystem_eval_path_get_token( &ctx ),
rtems_filesystem_eval_path_get_tokenlen( &ctx ),
(file_mode & (S_IRWXU | S_IRWXG | S_IRWXO)) | S_IFREG,