Skip to content

Commit c82c9f2

Browse files
author
rhc54
committed
Merge pull request open-mpi#1179 from ggouaillardet/topic/v1.10/romio_openbsd57
io/romio: fix filesystem type check on OpenBSD 5.7
2 parents e83f9bd + c645083 commit c82c9f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ompi/mca/io/romio/romio/adio/common/ad_fstype.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ static void ADIO_FileSysType_fncall(const char *filename, int *fstype, int *erro
356356
}
357357
# endif
358358

359+
# ifdef ROMIO_HAVE_STRUCT_STATFS_WITH_F_TYPE
360+
359361
# ifdef ROMIO_BGL
360362
/* BlueGene is a special case: all file systems are AD_BGL, except for
361363
* certain exceptions */
@@ -429,6 +431,8 @@ static void ADIO_FileSysType_fncall(const char *filename, int *fstype, int *erro
429431
}
430432
# endif
431433

434+
# endif /*ROMIO_HAVE_STRUCT_STATFS_WITH_F_TYPE */
435+
432436
# ifdef ROMIO_UFS
433437
/* if UFS support is enabled, default to that */
434438
*fstype = ADIO_UFS;

0 commit comments

Comments
 (0)