commit | 10817929b3a1598369e02e1c31c6d52799f23e5c | [log] [tgz] |
---|---|---|
author | Ming Lei <[email protected]> | Tue Nov 29 14:25:03 2022 +0000 |
committer | Ming Lei <[email protected]> | Wed Nov 30 06:58:59 2022 +0000 |
tree | a2d1114dd6b126b4ba123a88f62e9e13bc1db903 | |
parent | f74e256cf97c3483aad3c90bee425c892e03c50f [diff] |
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]>