Skip to content

Commit 875b237

Browse files
rddunlapaxboe
authored andcommitted
fs: block_dev.c: fix kernel-doc warnings from struct block_device changes
Fix new kernel-doc warnings in fs/block_dev.c: ../fs/block_dev.c:1066: warning: Excess function parameter 'whole' description in 'bd_abort_claiming' ../fs/block_dev.c:1837: warning: Function parameter or member 'dev' not described in 'lookup_bdev' Fixes: 4e7b567 ("block: remove i_bdev") Fixes: 37c3fc9 ("block: simplify the block device claiming interface") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jens Axboe <axboe@kernel.dk> Cc: Christoph Hellwig <hch@lst.de> Cc: linux-fsdevel@vger.kernel.org Cc: Alexander Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 5c8fe58 commit 875b237

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/block_dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,6 @@ static void bd_finish_claiming(struct block_device *bdev, void *holder)
10551055
/**
10561056
* bd_abort_claiming - abort claiming of a block device
10571057
* @bdev: block device of interest
1058-
* @whole: whole block device
10591058
* @holder: holder that has claimed @bdev
10601059
*
10611060
* Abort claiming of a block device when the exclusive open failed. This can be
@@ -1828,6 +1827,7 @@ const struct file_operations def_blk_fops = {
18281827
/**
18291828
* lookup_bdev - lookup a struct block_device by name
18301829
* @pathname: special file representing the block device
1830+
* @dev: return value of the block device's dev_t
18311831
*
18321832
* Get a reference to the blockdevice at @pathname in the current
18331833
* namespace if possible and return it. Return ERR_PTR(error)

0 commit comments

Comments
 (0)