Skip to content

Commit 86c3000

Browse files
committed
fix the delete selection logic in io/base. With the previous version, there was a mismatch
in the version number and no component was selected for file_delete.
1 parent 9140ad4 commit 86c3000

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ompi/mca/io/base/io_base_delete.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,9 @@ static avail_io_t *query(const mca_base_component_t *component,
286286

287287
/* io v2.0.0 */
288288

289-
if (2 == component->mca_major_version &&
290-
0 == component->mca_minor_version &&
291-
0 == component->mca_release_version) {
289+
if (MCA_BASE_VERSION_MAJOR == component->mca_major_version &&
290+
MCA_BASE_VERSION_MINOR == component->mca_minor_version &&
291+
MCA_BASE_VERSION_RELEASE == component->mca_release_version) {
292292
ioc_200 = (mca_io_base_component_2_0_0_t *) component;
293293

294294
return query_2_0_0(ioc_200, filename, info);

0 commit comments

Comments
 (0)