From: Willem Jan Withagen Date: Wed, 7 Jun 2017 09:21:57 +0000 (+0200) Subject: common/blkdev.cc: propagate get_device_by_fd to different OSes X-Git-Tag: v12.1.0~242^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6d83ae7de604db25612d5d8414b56b47b212cf0d;p=ceph.git common/blkdev.cc: propagate get_device_by_fd to different OSes Signed-off-by: Willem Jan Withagen --- diff --git a/src/common/blkdev.cc b/src/common/blkdev.cc index ae98df96d161..d95a397a8441 100644 --- a/src/common/blkdev.cc +++ b/src/common/blkdev.cc @@ -332,7 +332,7 @@ int get_device_by_uuid(uuid_d dev_uuid, const char* label, char* partition, { return -EOPNOTSUPP; } -int get_device_by_fd(int fd, char* partition, char* device) +int get_device_by_fd(int fd, char *partition, char *device, size_t max) { return -EOPNOTSUPP; } @@ -363,7 +363,7 @@ int get_device_by_uuid(uuid_d dev_uuid, const char* label, char* partition, return -EOPNOTSUPP; } -int get_device_by_fd(int fd, char* partition, char* device) +int get_device_by_fd(int fd, char *partition, char *device, size_t max) { return -EOPNOTSUPP; }