OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. 54257ecca31b6dc97fc4a33a1c409daa474606c3
Gerrit Code Review
Thu, 17 Dec 2009 12:02:44 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
Author: Hartmut Reuter <email@example.com>
Date: Fri Sep 11 12:29:45 2009 +0200
Implementation of new dump tag and length standard
The implementation follows the specification from October 2007.
All old tags are accecpted as before.
New tags 0x06-0x60 (capital letters) are followed by a 1 byte length
field which may contain directly the length (up to 127) or the length
of the then following length field (max 8) ored with 0x80.
New tags 0x61-0x77a are directly followed by 4 bytes building a 32bit
0x7b-0xf are single-byte tags, 0x7e meaning next tag is critical.
On this basis unknown tags can be skipped unless they were marked
critical. In this case the restore is aborted.
in dump.h tags following the new standard are marked by an asterisk
Last update: added parameter types for HandleUnknownTag.
Reviewed-by: Derrick Brashear <firstname.lastname@example.org>
Tested-by: Derrick Brashear <email@example.com>
(cherry picked from commit 3f2dd80697959f5922032f4d4a7c9ef0cfadf35c)
src/volser/dumpstuff.c | 224 ++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 224 insertions(+), 0 deletions(-)
OpenAFS Master Repository