consumerd: pass channel instance to stream creation function
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 5 May 2020 17:13:03 +0000 (13:13 -0400)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 26 May 2020 18:29:52 +0000 (14:29 -0400)
commit59db0d42017ebea7422e31b3f8b137ba835e5e8d
tree3a7499c942e6051c4a893fdbfa466ed6577d6eaa
parentace0e591600a76d76d54edef87ffb24afff6d209
consumerd: pass channel instance to stream creation function

Both callsites of consumer_allocate_stream() set the stream's "chan"
pointer after the creation. Pass the channel directly to the stream
creation function so it can initialize the stream according to the
channel's settings.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Icea7088e7695e310585bf398e14e6443d67a30bb
src/common/consumer/consumer.c
src/common/consumer/consumer.h
src/common/kernel-consumer/kernel-consumer.c
src/common/ust-consumer/ust-consumer.c
This page took 0.026107 seconds and 5 git commands to generate.