]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
export-vlops-in-vldbint-xg-file-20010924
authorDerrick Brashear <shadow@dementia.org>
Mon, 24 Sep 2001 13:17:16 +0000 (13:17 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 24 Sep 2001 13:17:16 +0000 (13:17 +0000)
based on report from lha@stacken.kth.se

include vlops in the "published" interface

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

based on report from lha@stacken.kth.se

remove from vlserver.p.h

src/vlserver/vldbint.xg
src/vlserver/vlserver.p.h

index 589e84555c273ebf27e9847d4c3f3e7daec03110..faa568c382606f9d6b37ea4ea34d00a052453b9f 100644 (file)
@@ -175,6 +175,14 @@ struct vldstats {
     afs_int32 reserved[5];                             /* for future usage */
 };
 
+/* Volser information/status */
+const VLOP_MOVE        = 0x10;
+const VLOP_RELEASE     = 0x20;
+const VLOP_BACKUP      = 0x40;
+const VLOP_DELETE      = 0x80;
+const VLOP_DUMP        = 0x100;
+
+%#define VLOP_ALLOPERS ( VLOP_MOVE | VLOP_RELEASE | VLOP_BACKUP | VLOP_DELETE | VLOP_DUMP)
 
 /* defines for convenience of vl users */
 %#define       VLF_RWEXISTS        0x1000  /* flags for whole vldb entry */
index ccd81d6cc5a198261893d8a04335a52522719b4d..0a8beb59e0ff4df4c7b4b4adba5b6f503601b259 100644 (file)
@@ -49,14 +49,6 @@ struct vlheader {
 #define        VLLOCKED        4               /* Advisory lock on entry */
 #define        VLCONTBLOCK     8               /* Special continuation block entry */
 
-/* Vlentry's flags also used to stamp type of ongoing operation */
-#define        VLOP_MOVE       0x10
-#define        VLOP_RELEASE    0x20
-#define        VLOP_BACKUP     0x40
-#define        VLOP_DELETE     0x80
-#define        VLOP_DUMP       0x100
-#define        VLOP_ALLOPERS   (VLOP_MOVE | VLOP_RELEASE | VLOP_BACKUP | VLOP_DELETE | VLOP_DUMP)
-
 /* Valid RelaseLock types */
 #define        LOCKREL_TIMESTAMP   1
 #define        LOCKREL_OPCODE      2