table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
LOOKUP_BDEV(9) | The Linux VFS | LOOKUP_BDEV(9) |
NAME¶
lookup_bdev - lookup a struct block_device by nameSYNOPSIS¶
struct
block_device *
lookup_bdev(const char * pathname);
ARGUMENTS¶
pathnamespecial file representing the block
device
DESCRIPTION¶
Get a reference to the blockdevice at pathname in the current namespace if possible and return it. Return ERR_PTR(error) otherwise.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |