Name

lookup_bdev — lookup a struct block_device by name

Synopsis

struct block_device * lookup_bdev (const char *  path);

Arguments

path

special file representing the block device

Description

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