Fix: statedump handle oom case, handle errors
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Jun 2014 17:50:15 +0000 (13:50 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Jun 2014 17:50:15 +0000 (13:50 -0400)
commitcfcee1c794ba05c6f7e4b0f7e630f9ca5cba935f
tree09200c122f30895f38a28dafa2d1cfb476493aea
parentcc3b2f068dfea4b893aedddaab19afb3851c17f2
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 <mathieu.desnoyers@efficios.com>
lttng-statedump-impl.c
This page took 0.025459 seconds and 4 git commands to generate.