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 17:38:05 +0000 (09:38 -0800)
commit97d3fcfcd1617bafa6ee62d291f09b2e8bb6daf7
tree55d41c77f0d05a832c4cc8bed5464c401af60587
parente854e26ef1a2ddb26d926891ffb32c1f46293878
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.

Change-Id: Ibed16b35ea14237f44a494add8c7a4a48e0c2b71
Reviewed-on: http://gerrit.openafs.org/814
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_pioctl.c