]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Increase size of space for ACL in "up" command.
authorAntoine Verheijen <antoine@ualberta.ca>
Tue, 9 Apr 2013 02:51:52 +0000 (20:51 -0600)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 6 Jun 2014 08:14:06 +0000 (04:14 -0400)
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 <jaltman@your-file-system.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit 639453196dd9f71a86e61d2c83e2e8ae0d8bf45f)

Change-Id: I4fabbe3fc294c076bd786d43f5e9d2dd0b32e99d
Reviewed-on: http://gerrit.openafs.org/11111
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/venus/up.c

index 2b79e9ffbe61dcd1bac430b9801c20b89f6b475c..6a62ca99534162081c917cb2c8adf5d7b8e30fdd 100644 (file)
@@ -51,7 +51,7 @@
 
 /* ************************************************************* */
 
-#define MAXACL 400
+#define MAXACL AFS_PIOCTL_MAXSIZE
 
 short verbose = 0;
 short renameTargets = 0;