summaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-04-04 14:50:11 +0000
committerAnand Avati <avati@gluster.com>2011-04-13 00:38:39 -0700
commitb71aa0cdb7113dfa7e94720da48cc46c476cde4a (patch)
tree12a3e68ec13ccfdc3cb51f1433611cc843195ac6 /extras
parent2e4eeb06adc1e6a8a7ded02752ade780ac977200 (diff)
declare favorite child as int instead of unsigned int
In afr_private_t structure favorite child is declared as unsigned int. In init function of afr we set favorite child to -1, if that option is not found in volfile. But favorite child value will be set to a huge value instead of -1 since it is an unsigned int and in statedump file favorite child value is displayed as a huge value instead of -1. Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2668 ([glusterfs-3.2.9qa7]: createbench error) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2668
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions