centos man page for lookup_bdev

Query: lookup_bdev

OS: centos

Section: 9

Links: centos man pages   all man pages

Forums: forum home   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

LOOKUP_BDEV(9)							   The Linux VFS						    LOOKUP_BDEV(9)

NAME
lookup_bdev - lookup a struct block_device by name
SYNOPSIS
struct block_device * lookup_bdev(const char * pathname);
ARGUMENTS
pathname special 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
Kernel Hackers Manual 3.10 June 2014 LOOKUP_BDEV(9)