From: Mathieu Desnoyers Date: Thu, 26 Jun 2014 17:50:15 +0000 (-0400) Subject: Fix: statedump handle oom case, handle errors X-Git-Tag: v2.5.0-rc2~2 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=cfcee1c794ba05c6f7e4b0f7e630f9ca5cba935f;hp=cfcee1c794ba05c6f7e4b0f7e630f9ca5cba935f;p=lttng-modules.git Fix: statedump handle oom case, handle errors lttng_enumerate_file_descriptors should check the pointer returned by __get_free_page() (check if NULL). do_lttng_statedump should check the sub-function return values. For lttng_enumerate_block_devices(), we allow -ENOSYS to continue (if not implemented). Signed-off-by: Mathieu Desnoyers ---