Merge pull request #7183 from hppritcha/topic/quiet_lustre
lustre: squash some compiler warnings
Этот коммит содержится в:
Коммит
ebf003581b
@ -92,7 +92,7 @@ mca_fs_lustre_component_file_query (ompio_file_t *fh, int *priority)
|
|||||||
if (!tmp) {
|
if (!tmp) {
|
||||||
/* The communicator might be NULL if we only want to delete the file */
|
/* The communicator might be NULL if we only want to delete the file */
|
||||||
if (OMPIO_ROOT == fh->f_rank || MPI_COMM_NULL == fh->f_comm) {
|
if (OMPIO_ROOT == fh->f_rank || MPI_COMM_NULL == fh->f_comm) {
|
||||||
fh->f_fstype = mca_fs_base_get_fstype ( fh->f_filename );
|
fh->f_fstype = mca_fs_base_get_fstype ( (char *)fh->f_filename );
|
||||||
}
|
}
|
||||||
if (fh->f_comm != MPI_COMM_NULL) {
|
if (fh->f_comm != MPI_COMM_NULL) {
|
||||||
fh->f_comm->c_coll->coll_bcast (&(fh->f_fstype),
|
fh->f_comm->c_coll->coll_bcast (&(fh->f_fstype),
|
||||||
|
@ -34,11 +34,11 @@
|
|||||||
|
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
|
|
||||||
static void *alloc_lum();
|
static void *alloc_lum(void);
|
||||||
|
|
||||||
static void *alloc_lum()
|
static void *alloc_lum(void)
|
||||||
{
|
{
|
||||||
int v1, v3, join;
|
int v1, v3;
|
||||||
|
|
||||||
v1 = sizeof(struct lov_user_md_v1) +
|
v1 = sizeof(struct lov_user_md_v1) +
|
||||||
LOV_MAX_STRIPE_COUNT * sizeof(struct lov_user_ost_data_v1);
|
LOV_MAX_STRIPE_COUNT * sizeof(struct lov_user_ost_data_v1);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user