.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "LOOKUP_BDEV" "" "06 October 2005" "" "" .SH NAME lookup_bdev \- lookup a struct block_device by name .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct block_device * lookup_bdev (const char * \fIpath\fB); \fR .SH "ARGUMENTS" .TP \fB\fIpath\fB\fR special file representing the block device .SH "DESCRIPTION" .PP Get a reference to the blockdevice at \fIpath\fR in the current namespace if possible and return it. Return ERR_PTR(error) otherwise. .SH "DESCRIPTION" .PP Get a reference to the blockdevice at \fIpath\fR in the current namespace if possible and return it. Return ERR_PTR(error) otherwise.