]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
blkdev: Add dedicated accessors for all property functions
authorAlan Somers <asomers@gmail.com>
Thu, 28 Sep 2017 22:51:39 +0000 (16:51 -0600)
committerKefu Chai <kchai@redhat.com>
Fri, 19 Oct 2018 11:35:23 +0000 (19:35 +0800)
commit025f6c90d808d56c4c16c932465093e959b75e78
tree420f7314d581791e4a1eea79141bfcebb41b9657
parent559461b2840c185211bcfe8cf3bcb89adeb0373c
blkdev: Add dedicated accessors for all property functions

Hide get_block_device_string_property and get_block_device_int_property
to lower risk of misuse.

Signed-off-by: Alan Somers <asomers@gmail.com>
src/common/blkdev.cc
src/common/blkdev.h
src/os/bluestore/KernelDevice.cc
src/os/bluestore/PMEMDevice.cc
src/test/common/test_blkdev.cc