[mpich2-commits] r6661 - mpich2/trunk/src/mpi/romio/adio/common

robl at mcs.anl.gov robl at mcs.anl.gov
Mon May 17 12:57:48 CDT 2010


Author: robl
Date: 2010-05-17 12:57:48 -0500 (Mon, 17 May 2010)
New Revision: 6661

Modified:
   mpich2/trunk/src/mpi/romio/adio/common/ad_fstype.c
Log:
from Michael Raymond <mraymond at sgi.com>: teach ROMIO about XFS magic numbers


Modified: mpich2/trunk/src/mpi/romio/adio/common/ad_fstype.c
===================================================================
--- mpich2/trunk/src/mpi/romio/adio/common/ad_fstype.c	2010-05-17 17:57:11 UTC (rev 6660)
+++ mpich2/trunk/src/mpi/romio/adio/common/ad_fstype.c	2010-05-17 17:57:48 UTC (rev 6661)
@@ -391,6 +391,13 @@
     }
 # endif
 
+# ifdef XFS_SUPER_MAGIC
+    if (fsbuf.f_type == XFS_SUPER_MAGIC) {
+	    *fstype = ADIO_XFS;
+	    return;
+    }
+# endif
+
 # ifdef ROMIO_UFS
     /* if UFS support is enabled, default to that */
     *fstype = ADIO_UFS;



More information about the mpich2-commits mailing list