aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorChristoph Hellwig2023-06-20 06:35:36 +0200
committerJens Axboe2023-06-20 07:16:38 -0600
commite89e001f24bf7bc558d9ebccb97fd559443021da (patch)
tree7ea20dde6b676fe3711a53156fd6981379d0555d /block
parentb90ecc0379eb7bbe79337b0c7289390a98752646 (diff)
block: document the holder argument to blkdev_get_by_path
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>
Diffstat (limited to 'block')
-rw-r--r--block/bdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/block/bdev.c b/block/bdev.c
index bd558a9ba3cd..9bb54d9d02a6 100644
--- a/block/bdev.c
+++ b/block/bdev.c
@@ -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