1. NAME▲

lookup_bdev - lookup a struct block_device by name

2. SYNOPSIS ▲

struct block_device * lookup_bdev(const char *  pathname );

3. ARGUMENTS ▲

pathname
    special file representing the block device

4. DESCRIPTION ▲

Get a reference to the blockdevice at pathname in the current namespace if possible and return it. Return ERR_PTR(error) otherwise.

5. COPYRIGHT ▲