blk_alloc_devt9
Allocate a dev_t for a partition
Usage
int blk_alloc_devt(struct hd_struct * part, dev_t * devt);
Arguments
part
partition to allocate dev_t for
devt
out parameter for resulting dev_t
Overview
Allocate a dev_t for block device.
Return
0 on success, allocated dev_t is returned in *devt. -errno on failure.
Context
Might sleep.
Releases
4 releases since Debian 6.0 (Squeeze); the text changed 3 times.