]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
common/blkdev.cc: propagate get_device_by_fd to different OSes 15547/head
authorWillem Jan Withagen <wjw@digiware.nl>
Wed, 7 Jun 2017 09:21:57 +0000 (11:21 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Wed, 7 Jun 2017 09:21:57 +0000 (11:21 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/common/blkdev.cc

index ae98df96d16114ed72a2c5a07d49dce3bbd6871f..d95a397a8441afd37fef8a3f57806fc9a5ebfff9 100644 (file)
@@ -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;
 }