]> 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)
committerDerrick Brashear <shadow|account-1000005@unknown>
Wed, 11 Nov 2009 21:24:15 +0000 (13:24 -0800)
commit7183c113ab14e0a84084c69c50c78481108d21ab
treed9f731c33ee27fcab553a747ee7909229c7b7735
parentb7198421a222a06cf5f34c53e516c31f5edf587c
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