1
1

If we get a filesystem type of "none", skip it.

This commit was SVN r27322.
Этот коммит содержится в:
Jeff Squyres 2012-09-12 14:38:37 +00:00
родитель 9057e84ec1
Коммит 3a4b92dbb7
2 изменённых файлов: 14 добавлений и 7 удалений

Просмотреть файл

@ -33,7 +33,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/test/support
check_PROGRAMS = \
opal_bit_ops
opal_bit_ops opal_path_nfs
TESTS = \
$(check_PROGRAMS)
@ -74,11 +74,11 @@ opal_bit_ops_LDADD = \
opal_bit_ops_DEPENDENCIES = $(opal_path_nfs_LDADD)
#opal_path_nfs_SOURCES = opal_path_nfs.c
#opal_path_nfs_LDADD = \
# $(top_builddir)/opal/libopen-pal.la \
# $(top_builddir)/test/support/libsupport.a
#opal_path_nfs_DEPENDENCIES = $(opal_path_nfs_LDADD)
opal_path_nfs_SOURCES = opal_path_nfs.c
opal_path_nfs_LDADD = \
$(top_builddir)/opal/libopen-pal.la \
$(top_builddir)/test/support/libsupport.a
opal_path_nfs_DEPENDENCIES = $(opal_path_nfs_LDADD)
#opal_os_path_SOURCES = opal_os_path.c
#opal_os_path_LDADD = \

Просмотреть файл

@ -134,8 +134,15 @@ void get_mounts (int * num_dirs, char ** dirs[], bool * nfs[])
* Cannot distinguish it from NFS in opal_path_nfs, therefore just
* disregard it, as it is NOT an parallel filesystem...
*/
if (0 == strcasecmp (fs, "rpc_pipefs"))
if (0 == strcasecmp (fs, "rpc_pipefs")) {
continue;
}
/* If we get an fs type of "none", skip it (e.g.,
http://www.open-mpi.org/community/lists/devel/2012/09/11493.php) */
if (0 == strcasecmp(fs, "none")) {
continue;
}
/*
* Later mounts override earlier mounts