]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Do not check *aoutSize in PGetPAG
authorAndrew Deason <adeason@sinenomine.net>
Wed, 11 Nov 2009 16:51:19 +0000 (10:51 -0600)
committerRuss Allbery <rra@debian.org>
Mon, 30 Nov 2009 22:50:36 +0000 (14:50 -0800)
commitb96e29618fadaf449817223010e9770e95f23e8b
treeae0305487f47b8f6705f874ee0ff36209c901f9a
parente946fcf7691407a4f9c5985da9bd65095ab04295
Do not check *aoutSize in PGetPAG

*aoutSize is always zero in pioctls, since afs_HandlePioctl handles
checking the output buffer size, and sets outSize to 0 before calling
the pioctl. So, PGetPAG was always returning E2BIG; remove the check to
make it work.

Reviewed-on: http://gerrit.openafs.org/814
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 97d3fcfcd1617bafa6ee62d291f09b2e8bb6daf7)

Change-Id: Icc401904c26027e235ec869e834297861a640d39
Reviewed-on: http://gerrit.openafs.org/816
Reviewed-by: Dan Hyde <drh@umich.edu>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_pioctl.c