X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fcommon%2Fblkdev.cc;h=d95a397a8441afd37fef8a3f57806fc9a5ebfff9;hb=31f18b776d001752a193a7cec8bb49033c1a904c;hp=11bd954103b926699ed6d74288f80de9fa20ece5;hpb=40152f1e46a80b3405e5558a442ee632198dfd24;p=ceph.git diff --git a/ceph/src/common/blkdev.cc b/ceph/src/common/blkdev.cc index 11bd95410..d95a397a8 100644 --- a/ceph/src/common/blkdev.cc +++ b/ceph/src/common/blkdev.cc @@ -9,15 +9,11 @@ * Foundation. See file COPYING. * */ + #include -#include #include #include -#include -#include -#include #include -#include #include "include/uuid.h" #ifdef __linux__ @@ -336,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; } @@ -367,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; }