mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
common/blkdev.h: use std::string
Signed-off-by: Neha Ojha <nojha@redhat.com>
This commit is contained in:
parent
9987923eef
commit
e03e65f5e2
@ -24,7 +24,7 @@ extern int get_device_by_path(const char *path, char* partition, char* device, s
|
||||
extern std::string get_device_id(const std::string& devname,
|
||||
std::string *err=0);
|
||||
extern void get_dm_parents(const std::string& dev, std::set<std::string> *ls);
|
||||
extern int block_device_get_metrics(const string& devname, int timeout,
|
||||
extern int block_device_get_metrics(const std::string& devname, int timeout,
|
||||
json_spirit::mValue *result);
|
||||
|
||||
// do everything to translate a device to the raw physical devices that
|
||||
|
Loading…
Reference in New Issue
Block a user