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

NAME

6       open_bdev_exclusive - open a block device by name and set it up for use
7

SYNOPSIS

9       struct block_device * open_bdev_exclusive(const char * path,
10                                                 fmode_t mode, void * holder);
11

ARGUMENTS

13       path
14           special file representing the block device
15
16       mode
17           FMODE_... combination to pass be used
18
19       holder
20           owner for exclusion
21

DESCRIPTION

23       Open the blockdevice described by the special file at path, claim it
24       for the holder.
25
27Kernel Hackers Manual 2.6.       November 2011          OPEN_BDEV_EXCLUSIVE(9)
Impressum