add lustre
authorChristos Zoulas <christos@zoulas.com>
Thu, 15 Dec 2011 21:43:23 +0000 (16:43 -0500)
committerChristos Zoulas <christos@zoulas.com>
Thu, 15 Dec 2011 21:43:23 +0000 (16:43 -0500)
amd/Makefile.am
amd/am_ops.c
amd/amd.h

index f1318f219d754aeecd7752a0684c9aaa254e360f..6e672ae59a7c8ac8ae675c22f8c73b4bc2916ca3 100644 (file)
@@ -99,6 +99,7 @@ EXTRA_amd_SOURCES =   \
        ops_cdfs.c      \
        ops_efs.c       \
        ops_lofs.c      \
+       ops_lustre.c    \
        ops_mfs.c       \
        ops_nfs.c       \
        ops_nfs3.c      \
index 4cf0cf1e7857af63397c9312065dfca0a91f08fd..22fbf37f4add1179a8af92d0c869ff53d369b8d9 100644 (file)
@@ -126,6 +126,9 @@ static am_ops *vops[] =
 #ifdef HAVE_FS_UDF
   &udf_ops,                    /* UDF F/S */
 #endif /* HAVE_FS_UDF */
+#ifdef HAVE_FS_LUSTRE
+  &lustre_ops,                 /* Lustre */
+#endif /* HAVE_FS_LUSTRE */
 
   /*
    * These 4 should be last, in the order:
index 98a1074287aae56e61f235618600269d5c6bde20..5aa55f2346d410fc080dc62be88c7d5e045ed5ff 100644 (file)
--- a/amd/amd.h
+++ b/amd/amd.h
@@ -756,6 +756,10 @@ extern am_ops pcfs_ops;
 extern am_ops udf_ops;
 #endif /* HAVE_FS_UDF */
 
+#ifdef HAVE_FS_LUSTRE
+extern am_ops lustre_ops;
+#endif /* HAVE_FS_LUSTRE */
+
 /*
  * Caching File System (Solaris)
  */