Clean-up: consumerd: reduce duplication of stream output close code
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 23 Jun 2022 18:28:01 +0000 (14:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 4 Oct 2022 21:59:42 +0000 (17:59 -0400)
The kernel space consumer implements its own version of a stream_close
operation where it could use the common consumer code. This change
separates the tear down of the buffers (munmap, in the kernel case) from
the closing of the output stream in consumer_stream_close().

This change allows the kernel snapshot code to re-use the common
close function instead of rolling its own `finalize_snapshot_stream`.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I48e3193ceb3c15ddd8c6fcecd37ab60b793f7e66


No differences found
This page took 0.025013 seconds and 4 git commands to generate.