aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/blk-core.c5
-rw-r--r--block/genhd.c2
-rw-r--r--fs/block_dev.c2
3 files changed, 5 insertions, 4 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.
diff --git a/fs/block_dev.c b/fs/block_dev.c
index d84f0469a016..218408eed1bb 100644
--- a/fs/block_dev.c
+++ b/fs/block_dev.c
@@ -1262,7 +1262,7 @@ EXPORT_SYMBOL(ioctl_by_bdev);
1262 1262
1263/** 1263/**
1264 * lookup_bdev - lookup a struct block_device by name 1264 * lookup_bdev - lookup a struct block_device by name
1265 * @pathname: special file representing the block device 1265 * @path: special file representing the block device
1266 * 1266 *
1267 * Get a reference to the blockdevice at @pathname in the current 1267 * Get a reference to the blockdevice at @pathname in the current
1268 * namespace if possible and return it. Return ERR_PTR(error) 1268 * namespace if possible and return it. Return ERR_PTR(error)