Allocate a dev_t for a partition
int blk_alloc_devt(struct hd_struct * part, dev_t * devt);
part
partition to allocate dev_t for
devt
out parameter for resulting dev_t
Allocate a dev_t for block device.
0 on success, allocated dev_t is returned in *devt. -errno on failure.
Might sleep.