summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2008-10-09 10:42:38 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 10:42:38 +0200
commit57d1b5366f46fe434e565b710baf683daff78dd8 (patch)
tree7ecd8eb272850247000a824f1b3e65b7e8e453fa /fs
parentaf5639424008ffe96f89b059bea1aec15e0115a9 (diff)
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/block_dev.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/fs/block_dev.c b/fs/block_dev.c
index 57e2786dd2a..d84f0469a01 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -879,9 +879,7 @@ static void flush_disk(struct block_device *bdev)
}
/**
- * check_disk_size_change - checks for disk size change and adjusts
- * bdev size.
- *
+ * check_disk_size_change - checks for disk size change and adjusts bdev size.
* @disk: struct gendisk to check
* @bdev: struct bdev to adjust.
*
@@ -908,9 +906,7 @@ void check_disk_size_change(struct gendisk *disk, struct block_device *bdev)
EXPORT_SYMBOL(check_disk_size_change);
/**
- * revalidate_disk - wrapper for lower-level driver's revalidate_disk
- * call-back
- *
+ * revalidate_disk - wrapper for lower-level driver's revalidate_disk call-back
* @disk: struct gendisk to be revalidated
*
* This routine is a wrapper for lower-level driver's revalidate_disk
@@ -1266,10 +1262,9 @@ EXPORT_SYMBOL(ioctl_by_bdev);
/**
* 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 @path in the current
+ * Get a reference to the blockdevice at @pathname in the current
* namespace if possible and return it. Return ERR_PTR(error)
* otherwise.
*/