ublksrv_tgt: move target type implementation into ublksrv_tgt.c

So far multiple target support is only done in ublksrv_tgt.c, so move
target type implementation into ublksrv_tgt.c.

Also signature of ublksrv_ctrl_prep_recovery() has to be changed to
include parameter of 'const struct ublksrv_tgt_type *' for recovering
control_dev->tgt_ops correctly.

Signed-off-by: Ming Lei <[email protected]>
5 files changed