Skip to content

Commit

Permalink
block: document the holder argument to blkdev_get_by_path
Browse files Browse the repository at this point in the history
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20230620043536.707249-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
  • Loading branch information
Christoph Hellwig authored and axboe committed Jun 20, 2023
1 parent b90ecc0 commit e89e001
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions block/bdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,7 @@ EXPORT_SYMBOL(blkdev_get_by_dev);
* @path: path to the block device to open
* @mode: open mode (BLK_OPEN_*)
* @holder: exclusive holder identifier
* @hops: holder operations
*
* Open the block device described by the device file at @path. If @holder is
* not %NULL, the block device is opened with exclusive access. Exclusive opens
Expand Down

0 comments on commit e89e001

Please sign in to comment.