File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ int main(int argc, char **argv)
157157 if (rc )
158158 errx (EXIT_FAILURE , "can't parse MI device string '%s'" , devstr );
159159
160- ctx = nvme_mi_create_global_ctx (stderr , DEFAULT_LOGLEVEL );
160+ ctx = nvme_create_global_ctx (stderr , DEFAULT_LOGLEVEL );
161161 if (!ctx )
162162 err (EXIT_FAILURE , "can't create global context" );
163163
@@ -219,7 +219,7 @@ int main(int argc, char **argv)
219219 dbus_error_free (& berr );
220220 nvme_mi_close (ep );
221221out_free_ctx :
222- nvme_mi_free_global_ctx (ctx );
222+ nvme_free_global_ctx (ctx );
223223
224224 return rc ? EXIT_FAILURE : EXIT_SUCCESS ;
225225}
Original file line number Diff line number Diff line change @@ -132,14 +132,12 @@ LIBNVME_2_0 {
132132 nvme_mi_close;
133133 nvme_mi_close_transport_handle;
134134 nvme_mi_control;
135- nvme_mi_create_global_ctx;
136135 nvme_mi_ctrl_id;
137136 nvme_mi_endpoint_desc;
138137 nvme_mi_ep_get_timeout;
139138 nvme_mi_ep_set_timeout;
140139 nvme_mi_first_ctrl;
141140 nvme_mi_first_endpoint;
142- nvme_mi_free_global_ctx;
143141 nvme_mi_init_transport_handle;
144142 nvme_mi_mi_config_get;
145143 nvme_mi_mi_config_set;
Original file line number Diff line number Diff line change @@ -954,7 +954,7 @@ struct nvme_global_ctx *nvme_mi_scan_mctp(void)
954954 dbus_bool_t drc ;
955955 DBusError berr ;
956956
957- ctx = nvme_mi_create_global_ctx (NULL , DEFAULT_LOGLEVEL );
957+ ctx = nvme_create_global_ctx (NULL , DEFAULT_LOGLEVEL );
958958 if (!ctx ) {
959959 errno = ENOMEM ;
960960 return NULL ;
@@ -1028,7 +1028,7 @@ struct nvme_global_ctx *nvme_mi_scan_mctp(void)
10281028
10291029 if (rc < 0 ) {
10301030 if (ctx ) {
1031- nvme_mi_free_global_ctx (ctx );
1031+ nvme_free_global_ctx (ctx );
10321032 }
10331033 errno = errno_save ;
10341034 ctx = NULL ;
You can’t perform that action at this time.
0 commit comments