Changeset 11455b2e in rtems


Ignore:
Timestamp:
Nov 21, 2019, 7:37:12 AM (13 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
1a95dd7
Parents:
f377998
git-author:
Sebastian Huber <sebastian.huber@…> (11/21/19 07:37:12)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/21/19 08:06:56)
Message:

imfs: Fix IMFS_make_linearfile()

Fix prototype.

Fix node size. Linfiles are dynamically turned into memfiles.

Update #3823.

Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/imfs.h

    rf377998 r11455b2e  
    620620  const char *path,
    621621  mode_t      mode,
    622   const char *data,
     622  const void *data,
    623623  size_t      size
    624624);
  • cpukit/libfs/src/imfs/imfs_make_linfile.c

    rf377998 r11455b2e  
    3535  const char *path,
    3636  mode_t      mode,
    37   const char *data,
     37  const void *data,
    3838  size_t      size
    3939)
     
    4848    ( mode & ~S_IFMT ) | S_IFREG,
    4949    &IMFS_node_control_linfile,
    50     sizeof( IMFS_linearfile_t ),
     50    sizeof( IMFS_file_t ),
    5151    &ctx
    5252  );
Note: See TracChangeset for help on using the changeset viewer.