Skip to content
Snippets Groups Projects
Commit a240bbe5 authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

bug #101536: The tapebridged daemon does not handle zero length files for migration correctly.

Added the following two serrno entries:

ETINVALIDTFSEQ  (1939) Invalid tape-file sequence-number
ETINVALIDTFSIZE (1940) Invalid tape-file file-size
parent 3d3af51a
No related branches found
No related tags found
No related merge requests found
......@@ -332,7 +332,9 @@ char *sys_terrlist[ETMAXERR-ETBASEOFF+2] =
"Label information not found in memory",
"Multi-drive reservations are not supported",
"No memory available for label information",
"Tape session error",
"Tape-session error",
"Invalid tape-file sequence-number",
"Invalid tape-file file-size",
"BAD ERROR NUMBER"
};
......
......@@ -337,8 +337,10 @@
#define ETNOLBLINFO ETBASEOFF+35 /* Label information not found in memory */
#define ETMLTDRVRSV ETBASEOFF+36 /* Multi-drive reservations are not supported */
#define ETNOLBLINFOMEM ETBASEOFF+37 /* No memory available for label information */
#define ETSESSIONERROR ETBASEOFF+38 /* Tape session error */
#define ETMAXERR ETBASEOFF+38
#define ETSESSIONERROR ETBASEOFF+38 /* Tape-session error */
#define ETINVALIDTFSEQ ETBASEOFF+39 /* Invalid tape-file sequence-number */
#define ETINVALIDTFSIZE ETBASEOFF+40 /* Invalid tape-file file-size */
#define ETMAXERR ETBASEOFF+40
/*
*------------------------------------------------------------------------
......
......@@ -724,7 +724,13 @@ The following error values are returned only by the tape package:
(1937) No memory available for label information
.TP
.B ETSESSIONERROR
(1938) Tape session error
(1938) Tape-session error
.TP
.B ETINVALIDTFSEQ
(1939) Invalid tape-file sequence-number
.TP
.B ETINVALIDTFSIZE
(1940) Invalid tape-file file-size
.SH VMGR ERRORS
The following error values are returned only by the volume manager package:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment