Commit 57d1b5366f46fe434e565b710baf683daff78dd8
Committed by
Jens Axboe
1 parent
af56394240
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: Randy Dunlap <randy.dunlap@oracle.com> cc: Andrew Patterson <andrew.patterson@hp.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Showing 1 changed file with 4 additions and 9 deletions Side-by-side Diff
fs/block_dev.c
... | ... | @@ -879,9 +879,7 @@ |
879 | 879 | } |
880 | 880 | |
881 | 881 | /** |
882 | - * check_disk_size_change - checks for disk size change and adjusts | |
883 | - * bdev size. | |
884 | - * | |
882 | + * check_disk_size_change - checks for disk size change and adjusts bdev size. | |
885 | 883 | * @disk: struct gendisk to check |
886 | 884 | * @bdev: struct bdev to adjust. |
887 | 885 | * |
... | ... | @@ -908,9 +906,7 @@ |
908 | 906 | EXPORT_SYMBOL(check_disk_size_change); |
909 | 907 | |
910 | 908 | /** |
911 | - * revalidate_disk - wrapper for lower-level driver's revalidate_disk | |
912 | - * call-back | |
913 | - * | |
909 | + * revalidate_disk - wrapper for lower-level driver's revalidate_disk call-back | |
914 | 910 | * @disk: struct gendisk to be revalidated |
915 | 911 | * |
916 | 912 | * This routine is a wrapper for lower-level driver's revalidate_disk |
917 | 913 | |
... | ... | @@ -1266,10 +1262,9 @@ |
1266 | 1262 | |
1267 | 1263 | /** |
1268 | 1264 | * lookup_bdev - lookup a struct block_device by name |
1265 | + * @pathname: special file representing the block device | |
1269 | 1266 | * |
1270 | - * @path: special file representing the block device | |
1271 | - * | |
1272 | - * Get a reference to the blockdevice at @path in the current | |
1267 | + * Get a reference to the blockdevice at @pathname in the current | |
1273 | 1268 | * namespace if possible and return it. Return ERR_PTR(error) |
1274 | 1269 | * otherwise. |
1275 | 1270 | */ |