]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mdstypes: add a same_sums() function to nest_info_t
authorGreg Farnum <greg@inktank.com>
Fri, 26 Sep 2014 01:02:58 +0000 (18:02 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Fri, 7 Nov 2014 19:48:43 +0000 (11:48 -0800)
commitf8db040c46bdd4385bb7af369e3b7e9c4181c955
tree7b182ac9616c550dd5abdf2e0bbf8581865f24aa
parentaf4bddd54d5a290e43927c0ef955724b8f8b0b08
mdstypes: add a same_sums() function to nest_info_t

operator== is checking equality of the version as well, but I want
something I can use to check that the internal sums match. This is useful
for eg comparing the sums of a set of dirfrags to the tally stored in
the inode.

Signed-off-by: Greg Farnum <greg@inktank.com>
src/mds/mdstypes.h