diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-04-13 00:18:17 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-31 22:52:16 -0700 |
commit | 40b4e44049e37d987cd5329cd6a854f894a8a1cf (patch) | |
tree | 81640f046ce89ffe98c5b7b3d0d878aa46283612 /Makefile.am | |
parent | 105cc9a772e524cbe1729c868cb4748187342e9f (diff) |
cluster/afr: 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 'Makefile.am')
0 files changed, 0 insertions, 0 deletions