/* Return with the pointer of the next node after act.  */
void* ramfs_ll_get_next(ramfs_ll_t *ll, void *act)
/* Return with the pointer of the next node after act.  */
void* ramfs_ll_get_next(ramfs_ll_t *ll, void *act)
{
    void *next = NULL;
    ramfs_ll_node_t *node = act;
    if (ll != NULL) {
        memcpy(&next, node + RAMFS_LL_NEXT_OFFSET(ll), sizeof(void *));
    }
    return next;
}