]> www.infradead.org Git - users/dhowells/kafs-utils.git/commitdiff
Adjust .xg files
authorDavid Howells <dhowells@redhat.com>
Wed, 26 Aug 2020 09:11:44 +0000 (10:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 27 Aug 2020 13:23:00 +0000 (14:23 +0100)
rpc-api/fs.xg
rpc-api/rxgen.xg [deleted file]
rpc-api/rxkad.xg [deleted file]
rpc-api/volumeserver.xg
rpc-api/yfs.xg

index b0f999f6115bf2ce3c2e98c7c1be604dea10951f..c062bf731fbb4a41e077dfe0e748d60dcba335a6 100644 (file)
@@ -42,6 +42,23 @@ package RXAFS_
 typedef int32_t ViceIds<FLUSHMAX>;
 typedef int32_t IPAddrs<FLUSHMAX>;
 
+/* Error codes */
+const VRESTARTING      = -100; /* Server is restarting */
+const VSALVAGE         = 101;  /* Volume needs salvaging */
+const VNOVNODE         = 102;  /* No such file/dir (vnode) */
+const VNOVOL           = 103;  /* No such volume or volume unavailable */
+const VVOLEXISTS       = 104;  /* Volume name already exists */
+const VNOSERVICE       = 105;  /* Volume not currently in service */
+const VOFFLINE         = 106;  /* Volume is currently offline (more info available [VVL-spec]) */
+const VONLINE          = 107;  /* Volume is already online */
+const VDISKFULL                = 108;  /* Disk partition is full */
+const VOVERQUOTA       = 109;  /* Volume's maximum quota exceeded */
+const VBUSY            = 110;  /* Volume is temporarily unavailable */
+const VMOVED           = 111;  /* Volume moved to new server - ask this FS where */
+const VIO              = 112;  /* I/O error in volume */
+const VSALVAGING       = 113;  /* Volume is being salvaged */
+const VRESTRICTED      = 120;  /* Volume is restricted from using  */
+
 /*
  * Interface
  */
diff --git a/rpc-api/rxgen.xg b/rpc-api/rxgen.xg
deleted file mode 100644 (file)
index 986d45d..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/* -*-c-*-
- ****************************************************************************
- *        Copyright IBM Corporation 1988, 1989 - All Rights Reserved        *
- *                                                                          *
- * Permission to use, copy, modify, and distribute this software and its    *
- * documentation for any purpose and without fee is hereby granted,         *
- * provided that the above copyright notice appear in all copies and        *
- * that both that copyright notice and this permission notice appear in     *
- * supporting documentation, and that the name of IBM not be used in        *
- * advertising or publicity pertaining to distribution of the software      *
- * without specific, written prior permission.                              *
- *                                                                          *
- * IBM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL *
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL IBM *
- * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY      *
- * DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER  *
- * IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING   *
- * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.    *
- ****************************************************************************
- */
-
-package RXGEN_
-
-/* Error codes */
-const RXGEN_CC_MARSHAL         = -450;
-const RXGEN_CC_UNMARSHAL       = -451;
-const RXGEN_SS_MARSHAL         = -452;
-const RXGEN_SS_UNMARSHAL       = -453;
-const RXGEN_DECODE             = -454;
-const RXGEN_OPCODE             = -455;
-const RXGEN_SS_XDRFREE         = -456;
-const RXGEN_CC_XDRFREE         = -457;
diff --git a/rpc-api/rxkad.xg b/rpc-api/rxkad.xg
deleted file mode 100644 (file)
index f089e27..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-/* -*-c-*- */
-
-
-package RXKAD_
-
-/* Error codes */
-const RXKADINCONSISTENCY       = 19270400;     /* security module structure inconsistent */
-const RXKADPACKETSHORT         = 19270401;     /* packet too short for security challenge */
-const RXKADLEVELFAIL           = 19270402;     /* security level negotiation failed */
-const RXKADTICKETLEN           = 19270403;     /* ticket length too short or too long */
-const RXKADOUTOFSEQUENCE       = 19270404;     /* packet had bad sequence number */
-const RXKADNOAUTH              = 19270405;     /* caller not authorised */
-const RXKADBADKEY              = 19270406;     /* illegal key: bad parity or weak */
-const RXKADBADTICKET           = 19270407;     /* security object was passed a bad ticket */
-const RXKADUNKNOWNKEY          = 19270408;     /* ticket contained unknown key version number */
-const RXKADEXPIRED             = 19270409;     /* authentication expired */
-const RXKADSEALEDINCON         = 19270410;     /* sealed data inconsistent */
-const RXKADDATALEN             = 19270411;     /* user data too long */
-const RXKADILLEGALLEVEL                = 19270412;     /* caller not authorised to use encrypted conns */
index 41588eded2c77d1c93c5160c61da9d695e812add..a9ef5e1c98bff86ebb02be1e4d8c9479d2a6d799 100644 (file)
@@ -83,7 +83,6 @@ const VOLGETCAPABILITIES= 65552;
 
 const PARTVALID        = 0x01;
 const VOK      = 0x02;
-const VBUSY    = 110;
 
 /* Error codes */
 const VOLSERTRELE_ERROR       = 1492325120;
index d37f9d0c49149bc6413665791121b503b72f5ad7..468808f574d42f61684fc94d7f8183f5fbe46812 100644 (file)
@@ -15,7 +15,7 @@
 package RXYFS_
 
 const RXYFS_SERVICE_ID   = 2500;
-const RXAFSCB_SERVICE_ID = 2501;
+const RXYFSCB_SERVICE_ID = 2501;
 
 const LockMandatoryRead        = 0x100;
 const LockMandatoryWrite = 0x101;