[mpich2-commits] r7929 - mpich2/trunk/src/mpi/romio/adio/include
robl at mcs.anl.gov
robl at mcs.anl.gov
Thu Feb 10 15:37:22 CST 2011
Author: robl
Date: 2011-02-10 15:37:22 -0600 (Thu, 10 Feb 2011)
New Revision: 7929
Modified:
mpich2/trunk/src/mpi/romio/adio/include/adioi.h
Log:
... and make sure we deal with the XFS and/or HFS cases, too.
Modified: mpich2/trunk/src/mpi/romio/adio/include/adioi.h
===================================================================
--- mpich2/trunk/src/mpi/romio/adio/include/adioi.h 2011-02-10 21:27:48 UTC (rev 7928)
+++ mpich2/trunk/src/mpi/romio/adio/include/adioi.h 2011-02-10 21:37:22 UTC (rev 7929)
@@ -671,12 +671,12 @@
# define ADIOI_READ_LOCK(fd, offset, whence, len) \
do {if (((fd)->file_system == ADIO_XFS) || ((fd)->file_system == ADIO_HFS)) \
ADIOI_Set_lock64((fd)->fd_sys, F_SETLKW64, F_RDLCK, offset, whence, len);\
- else ADIOI_Set_lock((fd)->fd_sys, F_SETLKW, F_RDLCK, offset, whence, len) while (0)
+ else ADIOI_Set_lock((fd)->fd_sys, F_SETLKW, F_RDLCK, offset, whence, len) }while (0)
# define ADIOI_UNLOCK(fd, offset, whence, len) \
do {if (((fd)->file_system == ADIO_XFS) || ((fd)->file_system == ADIO_HFS)) \
ADIOI_Set_lock64((fd)->fd_sys, F_SETLK64, F_UNLCK, offset, whence, len); \
- else ADIOI_Set_lock((fd)->fd_sys, F_SETLK, F_UNLCK, offset, whence, len) while (0)
+ else ADIOI_Set_lock((fd)->fd_sys, F_SETLK, F_UNLCK, offset, whence, len) }while (0)
#elif (defined(ROMIO_NTFS))
More information about the mpich2-commits
mailing list