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.6.10_pre1^2~113 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=c10aa39f31d7000b746d429cd75d74cb9390be0e;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). Reviewed-on: http://gerrit.openafs.org/9753 Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear Tested-by: BuildBot (cherry picked from commit 639453196dd9f71a86e61d2c83e2e8ae0d8bf45f) Change-Id: I4fabbe3fc294c076bd786d43f5e9d2dd0b32e99d Reviewed-on: http://gerrit.openafs.org/11111 Tested-by: BuildBot Reviewed-by: Chas Williams - CONTRACTOR Reviewed-by: Benjamin Kaduk Reviewed-by: Andrew Deason Reviewed-by: Stephan Wiesand --- diff --git a/src/venus/up.c b/src/venus/up.c index 2b79e9ffb..6a62ca995 100644 --- a/src/venus/up.c +++ b/src/venus/up.c @@ -51,7 +51,7 @@ /* ************************************************************* */ -#define MAXACL 400 +#define MAXACL AFS_PIOCTL_MAXSIZE short verbose = 0; short renameTargets = 0;