From cad91e9648abb9f2f90d5a39f222250f753ad9df Mon Sep 17 00:00:00 2001 From: Mark Allen Date: Mon, 10 Jan 2022 15:27:51 -0600 Subject: [PATCH] romio321 gpfs, change stat64 to stat This is a one-off fix for romio321, but matches what's in romio master Signed-off-by: Mark Allen bot:notacherrypick --- ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_open.c b/ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_open.c index f4fef37c85c..7037b88062a 100644 --- a/ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_open.c +++ b/ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_open.c @@ -115,9 +115,9 @@ void ADIOI_GPFS_Open(ADIO_File fd, int *error_code) MPI_Comm_rank(fd->comm, &rank); if ((rank == fd->hints->ranklist[0]) || (fd->comm == MPI_COMM_SELF)) { - struct stat64 gpfs_statbuf; + struct stat gpfs_statbuf; /* Get the (real) underlying file system block size */ - rc = stat64(fd->filename, &gpfs_statbuf); + rc = stat(fd->filename, &gpfs_statbuf); if (rc >= 0) { fd->blksize = gpfs_statbuf.st_blksize;