block: document the holder argument to blkdev_get_by_path

Message ID 20230606071138.147128-1-hch@lst.de
State New
Headers
Series block: document the holder argument to blkdev_get_by_path |

Commit Message

Christoph Hellwig June 6, 2023, 7:11 a.m. UTC
  Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 block/bdev.c | 1 +
 1 file changed, 1 insertion(+)
  

Patch

diff --git a/block/bdev.c b/block/bdev.c
index 5c46ff10770638..4cebda15c55475 100644
--- a/block/bdev.c
+++ b/block/bdev.c
@@ -846,6 +846,7 @@  EXPORT_SYMBOL(blkdev_get_by_dev);
  * @path: path to the block device to open
  * @mode: FMODE_* mask
  * @holder: exclusive holder identifier
+ * @hops: holder operations
  *
  * Open the block device described by the device file at @path.  If @mode
  * includes %FMODE_EXCL, the block device is opened with exclusive access.