xg: Fix vldb.xg
authorDavid Howells <dhowells@redhat.com>
Tue, 30 Jun 2020 15:29:01 +0000 (16:29 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 30 Jun 2020 17:25:48 +0000 (18:25 +0100)
Signed-off-by: David Howells <dhowells@redhat.com>
rpc-api/vldb.xg

index ee025c900283bbbb7ab208c3bf8ea2ae3690656f..7bd3210d62e660b7f670375fded81a468a882300 100644 (file)
@@ -273,7 +273,7 @@ struct uvldbentry {
        uint32_t volumeId[MAXTYPES];
        uint32_t cloneId;
        uint32_t flags;
-       uint32_t spares1;
+       uint32_t matchindex; /* MSW=VLSF_*; LSW=matched location record */
        uint32_t spares2;
        uint32_t spares3;
        uint32_t spares4;
@@ -377,7 +377,7 @@ ListEntry (IN uint32_t previous_index,
           OUT vldbentry *entry) = VLLISTENTRY;
 
 ListAttributes (IN VldbListByAttributes *attributes,
-               OUT uint32_t *nentries,
+               OUT int32_t *nentries,
                OUT bulkentries *blkentries) = VLLISTATTRIBUTES;
 
 #if 0
@@ -420,7 +420,7 @@ ListEntryN(IN uint32_t previous_index,
           OUT nvldbentry *entry) = VLLISTENTRYN;
 
 ListAttributesN (IN VldbListByAttributes *attributes,
-                OUT uint32_t *nentries,
+                OUT int32_t *nentries,
                 OUT nbulkentries *blkentries) = VLLISTATTRIBUTESN;
 
 #if 0
@@ -452,8 +452,8 @@ LinkedListU() = VLLINKEDLISTU;
 
 GetAddrsU(IN ListAddrByAttributes *inaddr,
          OUT afsUUID *uuidp1,
-         OUT uint32_t *uniquifier,
-         OUT uint32_t *nentries,
+         OUT int32_t *uniquifier,
+         OUT int32_t *nentries,
          OUT bulkaddrs *blkaddrs) = VLGETADDRSU;
 
 
@@ -464,10 +464,10 @@ RegisterAddrs(IN afsUUID *uid,
 
 ListAttributesN2(IN VldbListByAttributes *attributes,
                 IN string volumename<VLDB_MAXNAMELEN>,
-                IN  uint32_t startindex,
-                OUT uint32_t *nentries,
+                IN  int32_t startindex,
+                OUT int32_t *nentries,
                 OUT nbulkentries *blkentries,
-                OUT uint32_t *nextstartindex) = VLLISTATTRIBUTESN2;
+                OUT int32_t *nextstartindex) = VLLISTATTRIBUTESN2;
 
 GetCapabilities(
        OUT Capabilities *capabilities