engines/rbd: fix compile without blkin support
authorJens Axboe <axboe@fb.com>
Tue, 2 Aug 2016 21:23:43 +0000 (15:23 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 2 Aug 2016 21:23:43 +0000 (15:23 -0600)
commit550beaad94a11beef70dfb4057797ff8800c8a72
tree90da2c05fdfaf1e5d076b5b6384da0e1b2cd0839
parentc1f9846dca7df2bfd37f0279092a5887913bf342
engines/rbd: fix compile without blkin support

If we don't have rbd-blkin support, compile fails with:

engines/rbd.c:21:26: error: field ‘info’ has incomplete type
  struct blkin_trace_info info;
                          ^~~~
Makefile:313: recipe for target 'engines/rbd.o' failed

Hide 'info' behind the ifdef.

Fixes: a4c4c3460bd5 ("Add support for blkin tracing in rbd engine")
Signed-off-by: Jens Axboe <axboe@fb.com>
engines/rbd.c