From: Jérémie Galarneau Date: Wed, 15 Jan 2020 23:41:34 +0000 (-0500) Subject: fd-tracker: remove use of VLA for unsuspendable_fd APIs X-Git-Tag: v2.12.0-rc1~44 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=b13a2b17db29cbc8808e8bb149de1692b94729d3;hp=b13a2b17db29cbc8808e8bb149de1692b94729d3;p=lttng-tools.git fd-tracker: remove use of VLA for unsuspendable_fd APIs fd_tracker_open_unsuspendable_fd() and fd_tracker_close_unsuspendable_fd() make use of variable-length arrays to track unsuspendable entries to open/close. These uses of VLA can easily be replaced by using dynamic allocations. This is not expected to cause any performance problem as it is used in slow paths. Signed-off-by: Jérémie Galarneau Change-Id: I4d4e95e23eb6df9a66663ecabad40162c321525b ---