Fix fs storebehind on files with 2 or more servers
authorSimon Wilkinson <sxw@your-file-system.com>
Wed, 3 Feb 2010 00:37:20 +0000 (00:37 +0000)
committerDerrick Brashear <shadow|account-1000005@unknown>
Wed, 3 Feb 2010 21:29:57 +0000 (13:29 -0800)
commitd72846bb0a0650f96362ba190fa8f1fed90ba7d5
treec1c5628a2752581c0cde71b03f3c41545a17fae0
parent718f85a8b69a78ac77beb5c8471af20657be2a53
Fix fs storebehind on files with 2 or more servers

fs storebehind didn't allocate a large enough buffer for its call
to VIOCWHERIS. This meant that when it was called on a file with
more than one server (one in a readonly volume), it would error
out with E2BIG, rather than a more appropriate message.

Fix this, by using the generic 'space' buffer for the VIOCWHERIS
call.

Change-Id: Ida0d40175f07ad528720ca700db5b5027b975095
Reviewed-on: http://gerrit.openafs.org/1224
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/venus/fs.c