Fix the the opal_path_nfs test for GPFS. Reported by Paul H. Hargrove
This commit was SVN r23669.
Этот коммит содержится в:
родитель
9911797867
Коммит
271cfa8c9a
@ -450,6 +450,10 @@ bool opal_path_nfs(char *fname)
|
||||
#elif defined(linux) || defined (__BSD) || (defined(__APPLE__) && defined(__MACH__))
|
||||
struct statfs buf;
|
||||
#endif
|
||||
/*
|
||||
* Be sure to update the test (test/util/opal_path_nfs.c)
|
||||
* while adding a new Network/Cluster Filesystem here
|
||||
*/
|
||||
static struct fs_types_t {
|
||||
unsigned long long f_fsid;
|
||||
unsigned long long f_mask;
|
||||
|
@ -154,7 +154,8 @@ void get_mounts (int * num_dirs, char ** dirs[], bool * nfs[])
|
||||
nfs_tmp[mount_known] = false;
|
||||
if (0 == strcasecmp (fs, "nfs") ||
|
||||
0 == strcasecmp (fs, "lustre") ||
|
||||
0 == strcasecmp (fs, "panfs"))
|
||||
0 == strcasecmp (fs, "panfs") ||
|
||||
0 == strcasecmp (fs, "gpfs"))
|
||||
nfs_tmp[mount_known] = true;
|
||||
#ifdef DEBUG
|
||||
printf ("get_mounts: dirs[%d]:%s fs:%s nfs:%s\n",
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user