@@ -634,14 +634,6 @@ const char *nvme_subsystem_get_iopolicy(const struct nvme_subsystem *p);
634634 */
635635const char * nvme_host_get_hostnqn (const struct nvme_host * p );
636636
637- /**
638- * nvme_host_get_hostid() - Get hostid.
639- * @p: The &struct nvme_host instance to query.
640- *
641- * Return: The value of the hostid field, or NULL if not set.
642- */
643- const char * nvme_host_get_hostid (const struct nvme_host * p );
644-
645637/**
646638 * nvme_host_set_dhchap_host_key() - Set dhchap_host_key.
647639 * @p: The &struct nvme_host instance to update.
@@ -917,36 +909,36 @@ void nvme_fabric_options_set_host_traddr(
917909bool nvme_fabric_options_get_host_traddr (const struct nvme_fabric_options * p );
918910
919911/**
920- * nvme_fabric_options_set_hostid () - Set hostid .
912+ * nvme_fabric_options_set_hostnqn () - Set hostnqn .
921913 * @p: The &struct nvme_fabric_options instance to update.
922- * @hostid : Value to assign to the hostid field.
914+ * @hostnqn : Value to assign to the hostnqn field.
923915 */
924- void nvme_fabric_options_set_hostid (struct nvme_fabric_options * p , bool hostid );
916+ void nvme_fabric_options_set_hostnqn (
917+ struct nvme_fabric_options * p ,
918+ bool hostnqn );
925919
926920/**
927- * nvme_fabric_options_get_hostid () - Get hostid .
921+ * nvme_fabric_options_get_hostnqn () - Get hostnqn .
928922 * @p: The &struct nvme_fabric_options instance to query.
929923 *
930- * Return: The value of the hostid field.
924+ * Return: The value of the hostnqn field.
931925 */
932- bool nvme_fabric_options_get_hostid (const struct nvme_fabric_options * p );
926+ bool nvme_fabric_options_get_hostnqn (const struct nvme_fabric_options * p );
933927
934928/**
935- * nvme_fabric_options_set_hostnqn () - Set hostnqn .
929+ * nvme_fabric_options_set_hostid () - Set hostid .
936930 * @p: The &struct nvme_fabric_options instance to update.
937- * @hostnqn : Value to assign to the hostnqn field.
931+ * @hostid : Value to assign to the hostid field.
938932 */
939- void nvme_fabric_options_set_hostnqn (
940- struct nvme_fabric_options * p ,
941- bool hostnqn );
933+ void nvme_fabric_options_set_hostid (struct nvme_fabric_options * p , bool hostid );
942934
943935/**
944- * nvme_fabric_options_get_hostnqn () - Get hostnqn .
936+ * nvme_fabric_options_get_hostid () - Get hostid .
945937 * @p: The &struct nvme_fabric_options instance to query.
946938 *
947- * Return: The value of the hostnqn field.
939+ * Return: The value of the hostid field.
948940 */
949- bool nvme_fabric_options_get_hostnqn (const struct nvme_fabric_options * p );
941+ bool nvme_fabric_options_get_hostid (const struct nvme_fabric_options * p );
950942
951943/**
952944 * nvme_fabric_options_set_instance() - Set instance.
0 commit comments