1LOOKUP_BDEV(9)                   The Linux VFS                  LOOKUP_BDEV(9)
2
3
4

NAME

6       lookup_bdev - lookup a struct block_device by name
7

SYNOPSIS

9       struct block_device * lookup_bdev(const char * pathname);
10

ARGUMENTS

12       pathname
13           special file representing the block device
14

DESCRIPTION

16       Get a reference to the blockdevice at pathname in the current namespace
17       if possible and return it. Return ERR_PTR(error) otherwise.
18
20Kernel Hackers Manual 2.6.       November 2011                  LOOKUP_BDEV(9)
Impressum