bdev: remove all references to spdk_bdev_open
This API was removed previously, so remove remaining references in map file and unit tests. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Iba2f6a5f5ba590d3996dc133c8181083a33d7405 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7963 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
f4d2ba4371
commit
f651e22a98
@ -15,7 +15,6 @@
|
|||||||
spdk_bdev_next;
|
spdk_bdev_next;
|
||||||
spdk_bdev_first_leaf;
|
spdk_bdev_first_leaf;
|
||||||
spdk_bdev_next_leaf;
|
spdk_bdev_next_leaf;
|
||||||
spdk_bdev_open;
|
|
||||||
spdk_bdev_open_ext;
|
spdk_bdev_open_ext;
|
||||||
spdk_bdev_close;
|
spdk_bdev_close;
|
||||||
spdk_bdev_desc_get_bdev;
|
spdk_bdev_desc_get_bdev;
|
||||||
|
@ -112,9 +112,6 @@ DEFINE_STUB(spdk_bdev_get_io_channel, struct spdk_io_channel *, (struct spdk_bde
|
|||||||
NULL);
|
NULL);
|
||||||
DEFINE_STUB_V(spdk_nvmf_request_exec, (struct spdk_nvmf_request *req));
|
DEFINE_STUB_V(spdk_nvmf_request_exec, (struct spdk_nvmf_request *req));
|
||||||
DEFINE_STUB_V(nvmf_ctrlr_ns_changed, (struct spdk_nvmf_ctrlr *ctrlr, uint32_t nsid));
|
DEFINE_STUB_V(nvmf_ctrlr_ns_changed, (struct spdk_nvmf_ctrlr *ctrlr, uint32_t nsid));
|
||||||
DEFINE_STUB(spdk_bdev_open, int, (struct spdk_bdev *bdev, bool write,
|
|
||||||
spdk_bdev_remove_cb_t remove_cb,
|
|
||||||
void *remove_ctx, struct spdk_bdev_desc **desc), 0);
|
|
||||||
DEFINE_STUB_V(spdk_bdev_close, (struct spdk_bdev_desc *desc));
|
DEFINE_STUB_V(spdk_bdev_close, (struct spdk_bdev_desc *desc));
|
||||||
DEFINE_STUB(spdk_bdev_module_claim_bdev, int,
|
DEFINE_STUB(spdk_bdev_module_claim_bdev, int,
|
||||||
(struct spdk_bdev *bdev, struct spdk_bdev_desc *desc,
|
(struct spdk_bdev *bdev, struct spdk_bdev_desc *desc,
|
||||||
|
@ -94,11 +94,6 @@ spdk_bdev_free_io(struct spdk_bdev_io *bdev_io)
|
|||||||
CU_ASSERT(0);
|
CU_ASSERT(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFINE_STUB(spdk_bdev_open, int,
|
|
||||||
(struct spdk_bdev *bdev, bool write, spdk_bdev_remove_cb_t remove_cb,
|
|
||||||
void *remove_ctx, struct spdk_bdev_desc **desc),
|
|
||||||
0);
|
|
||||||
|
|
||||||
DEFINE_STUB(spdk_bdev_open_ext, int,
|
DEFINE_STUB(spdk_bdev_open_ext, int,
|
||||||
(const char *bdev_name, bool write, spdk_bdev_event_cb_t event_cb,
|
(const char *bdev_name, bool write, spdk_bdev_event_cb_t event_cb,
|
||||||
void *event_ctx, struct spdk_bdev_desc **desc),
|
void *event_ctx, struct spdk_bdev_desc **desc),
|
||||||
|
Loading…
Reference in New Issue
Block a user