summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/part.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/part.h b/include/part.h
index 9975fad9712..74911f4a5b0 100644
--- a/include/part.h
+++ b/include/part.h
@@ -276,6 +276,22 @@ static inline int blk_get_device_part_str(const char *ifname,
struct disk_partition *info,
int allow_whole_dev)
{ *dev_desc = NULL; return -1; }
+
+static inline int part_get_info_by_name_type(struct blk_desc *dev_desc,
+ const char *name,
+ struct disk_partition *info,
+ int part_type)
+{
+ return -ENOENT;
+}
+
+static inline int part_get_info_by_name(struct blk_desc *dev_desc,
+ const char *name,
+ struct disk_partition *info)
+{
+ return -ENOENT;
+}
+
static inline int
part_get_info_by_dev_and_name_or_num(const char *dev_iface,
const char *dev_part_str,