|
@@ -219,12 +219,6 @@ static inline struct gendisk *part_to_disk(struct hd_struct *part)
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|
|
|
|
|
|
-static inline int blk_part_pack_uuid(const u8 *uuid_str, u8 *to)
|
|
|
|
-{
|
|
|
|
- uuid_be_to_bin(uuid_str, (uuid_be *)to);
|
|
|
|
- return 0;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
static inline int disk_max_parts(struct gendisk *disk)
|
|
static inline int disk_max_parts(struct gendisk *disk)
|
|
{
|
|
{
|
|
if (disk->flags & GENHD_FL_EXT_DEVT)
|
|
if (disk->flags & GENHD_FL_EXT_DEVT)
|
|
@@ -736,11 +730,6 @@ static inline dev_t blk_lookup_devt(const char *name, int partno)
|
|
dev_t devt = MKDEV(0, 0);
|
|
dev_t devt = MKDEV(0, 0);
|
|
return devt;
|
|
return devt;
|
|
}
|
|
}
|
|
-
|
|
|
|
-static inline int blk_part_pack_uuid(const u8 *uuid_str, u8 *to)
|
|
|
|
-{
|
|
|
|
- return -EINVAL;
|
|
|
|
-}
|
|
|
|
#endif /* CONFIG_BLOCK */
|
|
#endif /* CONFIG_BLOCK */
|
|
|
|
|
|
#endif /* _LINUX_GENHD_H */
|
|
#endif /* _LINUX_GENHD_H */
|