Bug 1520974 - Compiler warning in dht-common.c because of a switch statement on a boolean
Summary: Compiler warning in dht-common.c because of a switch statement on a boolean
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: distribute
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-05 14:53 UTC by Shreyas Siravara
Modified: 2018-03-15 11:22 UTC (History)
2 users (show)

Fixed In Version: glusterfs-4.0.0
Clone Of:
Environment:
Last Closed: 2018-03-15 11:22:12 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Shreyas Siravara 2017-12-05 14:53:13 UTC
Description of problem: Build warning because dht-common.c does a `switch` on a boolean.

Comment 1 Worker Ant 2017-12-05 14:55:20 UTC
REVIEW: https://review.gluster.org/18922 (cluster/dht: Fix build error due to switch statement on a boolean) posted (#1) for review on master by Shreyas Siravara

Comment 2 Worker Ant 2017-12-05 20:35:50 UTC
COMMIT: https://review.gluster.org/18922 committed in master by \"Shreyas Siravara\" <sshreyas> with a commit message- cluster/dht: Fix build error due to switch statement on a boolean

Change-Id: Idf672b435e389baada732f609398404479306909
BUG: 1520974

Comment 3 Worker Ant 2017-12-06 16:36:39 UTC
REVIEW: https://review.gluster.org/18966 (dht/crypt/tier: Fix use of booleans as integers) posted (#1) for review on master by Shyamsundar Ranganathan

Comment 4 Worker Ant 2017-12-06 17:22:41 UTC
REVIEW: https://review.gluster.org/18968 (rpc: Fix format warnings when using IPV6_DEFAULT) posted (#1) for review on master by Shreyas Siravara

Comment 5 Worker Ant 2017-12-06 23:44:05 UTC
COMMIT: https://review.gluster.org/18966 committed in master by \"Shyamsundar Ranganathan\" <srangana> with a commit message- dht/crypt/tier: Fix use of booleans as integers

BUG: 1520974
Change-Id: I19ea40c888e88a7a4ac271168ed1820c2075be93
Signed-off-by: ShyamsundarR <srangana>

Comment 6 Worker Ant 2017-12-07 02:42:48 UTC
COMMIT: https://review.gluster.org/18968 committed in master by \"Shreyas Siravara\" <sshreyas> with a commit message- rpc: Fix format warnings when using IPV6_DEFAULT

Change-Id: I22e622212f30defe6f2af1a67d7b48a88d37a097
BUG: 1520974
Signed-off-by: Shreyas Siravara <sshreyas>

Comment 7 Shyamsundar 2018-03-15 11:22:12 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-4.0.0, please open a new bug report.

glusterfs-4.0.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/announce/2018-March/000092.html
[2] https://www.gluster.org/pipermail/gluster-users/


Note You need to log in before you can comment on or make changes to this bug.