block:remove some spare spaces in genhd.c

Remove the end-of-line spaces in genhd.c.

Signed-off-by: Wanlong Gao <wanlong.gao@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
This commit is contained in:
Wanlong Gao 2011-06-13 10:45:43 +02:00 committed by Jens Axboe
parent 4d0d98b60e
commit 9f5e486550

View file

@ -602,7 +602,7 @@ void add_disk(struct gendisk *disk)
disk->major = MAJOR(devt); disk->major = MAJOR(devt);
disk->first_minor = MINOR(devt); disk->first_minor = MINOR(devt);
/* Register BDI before referencing it from bdev */ /* Register BDI before referencing it from bdev */
bdi = &disk->queue->backing_dev_info; bdi = &disk->queue->backing_dev_info;
bdi_register_dev(bdi, disk_devt(disk)); bdi_register_dev(bdi, disk_devt(disk));
@ -1148,7 +1148,7 @@ static int diskstats_show(struct seq_file *seqf, void *v)
"wsect wuse running use aveq" "wsect wuse running use aveq"
"\n\n"); "\n\n");
*/ */
disk_part_iter_init(&piter, gp, DISK_PITER_INCL_EMPTY_PART0); disk_part_iter_init(&piter, gp, DISK_PITER_INCL_EMPTY_PART0);
while ((hd = disk_part_iter_next(&piter))) { while ((hd = disk_part_iter_next(&piter))) {
cpu = part_stat_lock(); cpu = part_stat_lock();
@ -1172,7 +1172,7 @@ static int diskstats_show(struct seq_file *seqf, void *v)
); );
} }
disk_part_iter_exit(&piter); disk_part_iter_exit(&piter);
return 0; return 0;
} }