options: ensure callback handlers handle NULL input

Various callback handlers weren't prepared for a NULL input. Ensure
that they are, they should just fail if the input is required but
none is given.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 file changed