]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
bluestore/BitAllocator: silence warnings of method hidden
authorKefu Chai <kchai@redhat.com>
Mon, 20 Jun 2016 23:18:35 +0000 (07:18 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 20 Jun 2016 23:55:13 +0000 (07:55 +0800)
commita0dd46c5d106f5e59b5aaa4b5898df7a37d15ba8
treea41c44f0761c437f721f132e8d42954061619b77
parent32f4b60c38d3b2a5e734353e1fbd77c49e8463d4
bluestore/BitAllocator: silence warnings of method hidden

is_allocated(int64_t *blocks, int64_t num_blocks, int blk_off) only gets
called in BitMapAreaIN and its child classes. so it's safe to move this
method down to BitMapAreaIN.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/bluestore/BitAllocator.h