diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-29 11:15:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-03-04 09:30:02 +0100 |
commit | 0b0cd93a40c92018a959219e8a2c42eadeae7a79 (patch) | |
tree | c6e6cd5b25719cefc2556d705bbbab297157f3a7 /cpukit/include/rtems/imfs.h | |
parent | rtems: rtems_scheduler_get_processor_maximum() (diff) | |
download | rtems-0b0cd93a40c92018a959219e8a2c42eadeae7a79.tar.bz2 |
imfs: Remove IMFS_NODE_FLAG_NAME_ALLOCATED
Remove IMFS_NODE_FLAG_NAME_ALLOCATED and instead replace the node
control in rename operations. This avoids a special case in the general
node destruction which pulled in free().
Update #3894.
Diffstat (limited to 'cpukit/include/rtems/imfs.h')
-rw-r--r-- | cpukit/include/rtems/imfs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpukit/include/rtems/imfs.h b/cpukit/include/rtems/imfs.h index 5327d632f9..1490186287 100644 --- a/cpukit/include/rtems/imfs.h +++ b/cpukit/include/rtems/imfs.h @@ -244,7 +244,6 @@ struct IMFS_jnode_tt { IMFS_jnode_t *Parent; /* Parent node */ const char *name; /* "basename" (not \0 terminated) */ uint16_t namelen; /* Length of "basename" */ - uint16_t flags; /* Node flags */ mode_t st_mode; /* File mode */ unsigned short reference_count; nlink_t st_nlink; /* Link count */ @@ -258,8 +257,6 @@ struct IMFS_jnode_tt { const IMFS_node_control *control; }; -#define IMFS_NODE_FLAG_NAME_ALLOCATED 0x1 - typedef struct { IMFS_jnode_t Node; rtems_chain_control Entries; |