diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/blk-core.c | 5 | ||||
-rw-r--r-- | block/genhd.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/block/blk-core.c b/block/blk-core.c index 91532f2d2fa7..8517264eb71e 100644 --- a/block/blk-core.c +++ b/block/blk-core.c | |||
@@ -1018,8 +1018,9 @@ static void part_round_stats_single(int cpu, struct hd_struct *part, | |||
1018 | } | 1018 | } |
1019 | 1019 | ||
1020 | /** | 1020 | /** |
1021 | * part_round_stats() - Round off the performance stats on a struct | 1021 | * part_round_stats() - Round off the performance stats on a struct disk_stats. |
1022 | * disk_stats. | 1022 | * @cpu: cpu number for stats access |
1023 | * @part: target partition | ||
1023 | * | 1024 | * |
1024 | * The average IO queue length and utilisation statistics are maintained | 1025 | * The average IO queue length and utilisation statistics are maintained |
1025 | * by observing the current state of the queue length and the amount of | 1026 | * by observing the current state of the queue length and the amount of |
diff --git a/block/genhd.c b/block/genhd.c index b8defae2ec03..646e1d2507c7 100644 --- a/block/genhd.c +++ b/block/genhd.c | |||
@@ -534,7 +534,7 @@ void unlink_gendisk(struct gendisk *disk) | |||
534 | /** | 534 | /** |
535 | * get_gendisk - get partitioning information for a given device | 535 | * get_gendisk - get partitioning information for a given device |
536 | * @devt: device to get partitioning information for | 536 | * @devt: device to get partitioning information for |
537 | * @part: returned partition index | 537 | * @partno: returned partition index |
538 | * | 538 | * |
539 | * This function gets the structure containing partitioning | 539 | * This function gets the structure containing partitioning |
540 | * information for the given device @devt. | 540 | * information for the given device @devt. |