Fix: making sure the file type is not overwritten by the last queried component
This commit was SVN r30478.
Этот коммит содержится в:
родитель
afae924e29
Коммит
7bf4c425ff
@ -9,7 +9,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2008-2011 University of Houston. All rights reserved.
|
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -145,6 +145,9 @@ int mca_fs_lustre_component_file_unquery (mca_io_ompio_file_t *file)
|
|||||||
|
|
||||||
int mca_fs_lustre_module_init (mca_io_ompio_file_t *file)
|
int mca_fs_lustre_module_init (mca_io_ompio_file_t *file)
|
||||||
{
|
{
|
||||||
|
/* Make sure the file type is not overwritten by the last queried
|
||||||
|
* component */
|
||||||
|
file->f_fstype = LUSTRE;
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,6 +142,9 @@ int mca_fs_plfs_component_file_unquery (mca_io_ompio_file_t *file)
|
|||||||
|
|
||||||
int mca_fs_plfs_module_init (mca_io_ompio_file_t *file)
|
int mca_fs_plfs_module_init (mca_io_ompio_file_t *file)
|
||||||
{
|
{
|
||||||
|
/* Make sure the file type is not overwritten by the last queried
|
||||||
|
* component */
|
||||||
|
file->f_fstype = PLFS;
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2008-2011 University of Houston. All rights reserved.
|
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -145,6 +145,9 @@ int mca_fs_pvfs2_component_file_unquery (mca_io_ompio_file_t *file)
|
|||||||
|
|
||||||
int mca_fs_pvfs2_module_init (mca_io_ompio_file_t *file)
|
int mca_fs_pvfs2_module_init (mca_io_ompio_file_t *file)
|
||||||
{
|
{
|
||||||
|
/* Make sure the file type is not overwritten by the last queried
|
||||||
|
* component */
|
||||||
|
file->f_fstype = PVFS2;
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2008-2011 University of Houston. All rights reserved.
|
* Copyright (c) 2008-2014 University of Houston. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -83,6 +83,9 @@ int mca_fs_ufs_component_file_unquery (mca_io_ompio_file_t *file)
|
|||||||
|
|
||||||
int mca_fs_ufs_module_init (mca_io_ompio_file_t *file)
|
int mca_fs_ufs_module_init (mca_io_ompio_file_t *file)
|
||||||
{
|
{
|
||||||
|
/* Make sure the file type is not overwritten by the last queried
|
||||||
|
* component */
|
||||||
|
file->f_fstype = UFS;
|
||||||
return OMPI_SUCCESS;
|
return OMPI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user