From: Jérémie Galarneau Date: Thu, 2 Apr 2020 02:16:32 +0000 (-0400) Subject: Fix: sessiond: erroneous error code returned on rotation failure X-Git-Tag: v2.13.0-rc1~694 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=7e0de2192e89732f6dea0b72992096a028ca02d1;hp=7e0de2192e89732f6dea0b72992096a028ca02d1 Fix: sessiond: erroneous error code returned on rotation failure `LTTNG_ERR_KERN_CONSUMER_FAIL` is returned by the kernel domain rotation handling code. This code is associated with a failure to launch the kernel consumer daemon which is not the case here. The `LTTNG_ERR_ROTATION_FAIL_CONSUMER` is used instead and returned to the client. Signed-off-by: Jérémie Galarneau Change-Id: Ifdc9e46addcc4dc7ca2002d6dff5b2d7ac6c31f3 ---