Commit 57d1b536 authored by Randy Dunlap's avatar Randy Dunlap Committed by Jens Axboe

block_dev: fix kernel-doc in new functions

Fix kernel-doc in new functions:

Error(mmotm-2008-1002-1617//fs/block_dev.c:895): duplicate section name 'Description'
Error(mmotm-2008-1002-1617//fs/block_dev.c:924): duplicate section name 'Description'
Warning(mmotm-2008-1002-1617//fs/block_dev.c:1282): No description found for parameter 'pathname'
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
cc: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent af563942
...@@ -879,9 +879,7 @@ static void flush_disk(struct block_device *bdev) ...@@ -879,9 +879,7 @@ static void flush_disk(struct block_device *bdev)
} }
/** /**
* check_disk_size_change - checks for disk size change and adjusts * check_disk_size_change - checks for disk size change and adjusts bdev size.
* bdev size.
*
* @disk: struct gendisk to check * @disk: struct gendisk to check
* @bdev: struct bdev to adjust. * @bdev: struct bdev to adjust.
* *
...@@ -908,9 +906,7 @@ void check_disk_size_change(struct gendisk *disk, struct block_device *bdev) ...@@ -908,9 +906,7 @@ void check_disk_size_change(struct gendisk *disk, struct block_device *bdev)
EXPORT_SYMBOL(check_disk_size_change); EXPORT_SYMBOL(check_disk_size_change);
/** /**
* revalidate_disk - wrapper for lower-level driver's revalidate_disk * revalidate_disk - wrapper for lower-level driver's revalidate_disk call-back
* call-back
*
* @disk: struct gendisk to be revalidated * @disk: struct gendisk to be revalidated
* *
* This routine is a wrapper for lower-level driver's revalidate_disk * This routine is a wrapper for lower-level driver's revalidate_disk
...@@ -1266,10 +1262,9 @@ EXPORT_SYMBOL(ioctl_by_bdev); ...@@ -1266,10 +1262,9 @@ EXPORT_SYMBOL(ioctl_by_bdev);
/** /**
* lookup_bdev - lookup a struct block_device by name * lookup_bdev - lookup a struct block_device by name
* @pathname: special file representing the block device
* *
* @path: special file representing the block device * Get a reference to the blockdevice at @pathname in the current
*
* Get a reference to the blockdevice at @path in the current
* namespace if possible and return it. Return ERR_PTR(error) * namespace if possible and return it. Return ERR_PTR(error)
* otherwise. * otherwise.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment