From: Antoine Verheijen Date: Tue, 9 Apr 2013 02:51:52 +0000 (-0600) Subject: Increase size of space for ACL in "up" command. X-Git-Tag: upstream/1.8.0_pre1^2~1233 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=639453196dd9f71a86e61d2c83e2e8ae0d8bf45f;p=packages%2Fo%2Fopenafs.git Increase size of space for ACL in "up" command. The amount of space allocated for use by the pioctl call to obtain the ACL for the source directory in the "up" command is not large enough and the call fails when access lists get sufficiently large. This change increases the size of the space provided to pioctl to the maximum possible. This allows for much larger access lists and is consistent with a similar call in the "fs listacl" command). Change-Id: I177387e7346a9e2788f3556fd8754a7f93a2794b Reviewed-on: http://gerrit.openafs.org/9753 Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear Tested-by: BuildBot --- diff --git a/src/venus/up.c b/src/venus/up.c index d7ee2a652..9334f0f6f 100644 --- a/src/venus/up.c +++ b/src/venus/up.c @@ -25,7 +25,7 @@ /* ************************************************************* */ -#define MAXACL 400 +#define MAXACL AFS_PIOCTL_MAXSIZE short verbose = 0; short renameTargets = 0;