Merge pull request #19316 from trociny/wip-blkdev-fixup

common/blkdev: fix build in FreeBSD environment

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
Sage Weil 2017-12-04 08:55:53 -06:00 committed by GitHub
commit 16185b9d8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -336,7 +336,7 @@ int get_device_by_uuid(uuid_d dev_uuid, const char* label, char* partition,
return -EOPNOTSUPP;
}
void get_dm_parents(const string& dev, set<string> *ls)
void get_dm_parents(const std::string& dev, std::set<std::string> *ls)
{
}
@ -376,7 +376,7 @@ int get_device_by_fd(int fd, char *partition, char *device, size_t max)
return -EOPNOTSUPP;
}
void get_dm_parents(const string& dev, set<string> *ls)
void get_dm_parents(const std::string& dev, std::set<std::string> *ls)
{
}
@ -411,7 +411,7 @@ int get_device_by_fd(int fd, char *partition, char *device, size_t max)
{
return -EOPNOTSUPP;
}
void get_dm_parents(const string& dev, set<string> *ls)
void get_dm_parents(const std::string& dev, std::set<std::string> *ls)
{
}
#endif