]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
include/util.h: initialize ceph_data_stats to zero
authorJoao Eduardo Luis <joao@redhat.com>
Wed, 21 Jan 2015 17:47:20 +0000 (17:47 +0000)
committerJoao Eduardo Luis <jecluis@gmail.com>
Sun, 1 Mar 2015 10:11:24 +0000 (10:11 +0000)
commitb8c7baec841e9fecc8abfb4e1578b0a5675f9cd7
tree0332d3397aa6e9e20df095d1daadbc5d10ef89c5
parent6c2dea970392d5192f98b6d8ac7a273a4dfce65b
include/util.h: initialize ceph_data_stats to zero

We decode this struct on the monitor.  Although at the moment there's no
reports of any weird behavior by not initializing it, let's avoid it
completely by setting member values to zero -- just in case and because
it's a good policy.

Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
src/include/util.h