1BD_CLAIM(9) The Linux VFS BD_CLAIM(9)
23
4
NAME
6bd_claim - claim a block device
7
SYNOPSIS
9int bd_claim(struct block_device * bdev, void * holder);
10
ARGUMENTS
12bdev
13block device to claim
1415
holder
16holder trying to claim bdev
17
DESCRIPTION
19Try to claim bdev which must have been opened successfully.
20
CONTEXT
22Might sleep.
23
RETURNS
250 if successful, -EBUSY if bdev is already claimed.
26
COPYRIGHT
28Kernel Hackers Manual 2.6. November 2011 BD_CLAIM(9)