]> www.infradead.org Git - users/dhowells/kafs-utils.git/commitdiff
xg: Permit the U-variant VLDB operations
authorDavid Howells <dhowells@redhat.com>
Wed, 9 Oct 2019 15:55:53 +0000 (16:55 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 23 Jun 2020 16:50:32 +0000 (17:50 +0100)
Permit such VLDB operations as VL.GetEntryByNameU.

Signed-off-by: David Howells <dhowells@redhat.com>
rpc-api/vldb.xg

index 6fdbcda9ae315183afd2babf020151974e094216..ee025c900283bbbb7ab208c3bf8ea2ae3690656f 100644 (file)
@@ -263,7 +263,6 @@ struct VldbListByAttributes {
        uint32_t flag;
 };
 
-#if 0
 struct uvldbentry {
        char name[VLDB_MAXNAMELEN];
        uint32_t nServers;
@@ -284,7 +283,6 @@ struct uvldbentry {
        uint32_t spares8;
        uint32_t spares9;
 };
-#endif
 
 #if 0
 struct single_vldbentry {
@@ -308,9 +306,7 @@ const VL_MAX_BULK_ADDRS = 1024;
 
 typedef vldbentry bulkentries<>;
 typedef nvldbentry nbulkentries<>;
-#if 0
 typedef uvldbentry ubulkentries<>;
-#endif
 typedef uint32_t bulkaddrs<VL_MAX_BULK_ADDRS>;
 
 
@@ -435,7 +431,6 @@ UpdateEntryByName (IN string volname<VLDB_MAXNAMELEN>,
                   IN VldbUpdateEntry *UpdateEntry,
                   IN uint32_t ReleaseType) = VLUPDATEENTRYBYNAME;
 
-#if 0
 CreateEntryU(IN uvldbentry *newentry) = VLCREATEENTRYU;
 
 GetEntryByIDU() = VLGETENTRYBYIDU;
@@ -451,6 +446,7 @@ ListAttributesU (IN VldbListByAttributes *attributes,
                 OUT uint32_t *nentries,
                 OUT ubulkentries *blkentries) = VLLISTATTRIBUTESU;
 
+#if 0
 LinkedListU() = VLLINKEDLISTU;
 #endif