]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg/Connection: has_features()
authorSage Weil <sage@redhat.com>
Fri, 3 Feb 2017 14:49:12 +0000 (09:49 -0500)
committerSage Weil <sage@redhat.com>
Mon, 6 Feb 2017 20:43:50 +0000 (15:43 -0500)
commitd1d63f89573bce18ff4098d6605fbfaa7ee64ad8
treeef43499cbe342dafba3a13d52f50ffb581427149
parent311476187eac833cccfe9f5265aca01fd3ae2194
msg/Connection: has_features()

Test for multiple features all being set together.  Note that this can be
used with the CEPH_FEATUREMASK_ defines to safely test for reused feature
bits.

Signed-off-by: Sage Weil <sage@redhat.com>
src/msg/Connection.h