mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
STABLE14-vos-namelen-for-dump-restore-is-stupid-20070509
fixes bug reported by stephen joyce which i am too lazy to go get the RT number of (cherry picked from commit f2761c416320a3ff2bb0af4298ca95b8ecb04211)
This commit is contained in:
parent
06cee6bb97
commit
4c802bee8d
@ -2783,7 +2783,7 @@ DumpVolume(as)
|
||||
|
||||
{
|
||||
afs_int32 avolid, aserver, apart, voltype, fromdate = 0, code, err, i;
|
||||
char filename[NameLen];
|
||||
char filename[MAXPATHLEN];
|
||||
struct nvldbentry entry;
|
||||
|
||||
rx_SetRxDeadTime(60 * 10);
|
||||
@ -2883,7 +2883,7 @@ RestoreVolume(as)
|
||||
afs_int32 acreation = 0, alastupdate = 0;
|
||||
int restoreflags, readonly = 0, offline = 0, voltype = RWVOL;
|
||||
char prompt;
|
||||
char afilename[NameLen], avolname[VOLSER_MAXVOLNAME + 1], apartName[10];
|
||||
char afilename[MAXPATHLEN], avolname[VOLSER_MAXVOLNAME + 1], apartName[10];
|
||||
char volname[VOLSER_MAXVOLNAME + 1];
|
||||
struct nvldbentry entry;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user