]> git.michaelhowe.org Git - packages/o/openafs.git/commit
viced: set volume sync data in bulk status rpcs
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 19 Nov 2009 23:11:06 +0000 (18:11 -0500)
committerDerrick Brashear <shadow|account-1000005@unknown>
Thu, 17 Dec 2009 06:19:20 +0000 (22:19 -0800)
commitc286361d75323b32590fb8fc54d93b4f8c6ce07e
treeae890a2e7fc0934ef0a7cfd66adba593a0d4cfef
parent0c5885a374afcbb86a627b97a44aa93a231f907e
viced: set volume sync data in bulk status rpcs

The bulkstatus and inlinebulkstatus rpcs have a bug
that prevents the volume sync data from being set.
Currently the data is being set within the for loop
only when i == nfiles.  The conditional of the loop
is i < nfiles so the SetVolumeSync call is never
performed.  This patch changes the test for performing
SetVolumeSync to i == 0.

LICENSE MIT

Change-Id: I17e3980184ec68e38c5186e1c9637ac6e38451fe
Reviewed-on: http://gerrit.openafs.org/856
Reviewed-by: Dan Hyde <drh@umich.edu>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 13843d852749ba081804f3af368620db7b4b7d7a)
Reviewed-on: http://gerrit.openafs.org/914
src/viced/afsfileprocs.c