Re: [PATCH 2/3] rbtree: Add _RBTree_Replace_node()

2015-08-31 Thread Sebastian Huber
On 31/08/15 16:30, Gedare Bloom wrote: It's on the caller to ensure no ordering violation? Yes, I added this function for the Linux rbtree support. One user is the JFFS2 file system. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49

[PATCH 2/3] rbtree: Add _RBTree_Replace_node()

2015-08-31 Thread Sebastian Huber
--- cpukit/score/Makefile.am | 1 + cpukit/score/include/rtems/score/rbtree.h | 13 +++ cpukit/score/src/rbtreereplace.c | 61 +++ 3 files changed, 75 insertions(+) create mode 100644 cpukit/score/src/rbtreereplace.c diff --git

Re: [PATCH 2/3] rbtree: Add _RBTree_Replace_node()

2015-08-31 Thread Gedare Bloom
It's on the caller to ensure no ordering violation? On Mon, Aug 31, 2015 at 7:54 AM, Sebastian Huber wrote: > --- > cpukit/score/Makefile.am | 1 + > cpukit/score/include/rtems/score/rbtree.h | 13 +++ > cpukit/score/src/rbtreereplace.c