forked from Imagelibrary/rtems
2010-08-18 Chris Johns <chrisj@rtems.org>
PR 1677/filesystem
* libfs/src/imfs/imfs_creat.c: Fix creating of a file. Lost in the
change from a switch statement.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2010-08-18 Chris Johns <chrisj@rtems.org>
|
||||
|
||||
PR 1677/filesystem
|
||||
* libfs/src/imfs/imfs_creat.c: Fix creating of a file. Lost in the
|
||||
change from a switch statement.
|
||||
|
||||
2010-08-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* posix/include/rtems/posix/aio_misc.h: Remove
|
||||
|
||||
@@ -76,12 +76,11 @@ IMFS_jnode_t *IMFS_create_node(
|
||||
} else if ( type == IMFS_LINEAR_FILE ) {
|
||||
node->info.linearfile.size = 0;
|
||||
node->info.linearfile.direct = 0;
|
||||
if ( type == IMFS_MEMORY_FILE ) {
|
||||
} else if ( type == IMFS_MEMORY_FILE ) {
|
||||
node->info.file.size = 0;
|
||||
node->info.file.indirect = 0;
|
||||
node->info.file.doubly_indirect = 0;
|
||||
node->info.file.triply_indirect = 0;
|
||||
}
|
||||
} else if ( type == IMFS_FIFO ) {
|
||||
node->info.fifo.pipe = NULL;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user