diff options
author | Wanlong Gao <wanlong.gao@gmail.com> | 2011-06-13 04:45:43 -0400 |
---|---|---|
committer | Jens Axboe <jaxboe@fusionio.com> | 2011-06-13 04:45:43 -0400 |
commit | 9f5e486550456587348e2048eecda5bee778250a (patch) | |
tree | 58e267d7a03deeb13c35b6b737b8307d674d8a9a /block/genhd.c | |
parent | 4d0d98b60eba726e0a4f3e6617628b070c444707 (diff) |
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>
Diffstat (limited to 'block/genhd.c')
-rw-r--r-- | block/genhd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/block/genhd.c b/block/genhd.c index 95822ae25cfe..ed3fe8224f9f 100644 --- a/block/genhd.c +++ b/block/genhd.c | |||
@@ -602,7 +602,7 @@ void add_disk(struct gendisk *disk) | |||
602 | disk->major = MAJOR(devt); | 602 | disk->major = MAJOR(devt); |
603 | disk->first_minor = MINOR(devt); | 603 | disk->first_minor = MINOR(devt); |
604 | 604 | ||
605 | /* Register BDI before referencing it from bdev */ | 605 | /* Register BDI before referencing it from bdev */ |
606 | bdi = &disk->queue->backing_dev_info; | 606 | bdi = &disk->queue->backing_dev_info; |
607 | bdi_register_dev(bdi, disk_devt(disk)); | 607 | bdi_register_dev(bdi, disk_devt(disk)); |
608 | 608 | ||
@@ -1148,7 +1148,7 @@ static int diskstats_show(struct seq_file *seqf, void *v) | |||
1148 | "wsect wuse running use aveq" | 1148 | "wsect wuse running use aveq" |
1149 | "\n\n"); | 1149 | "\n\n"); |
1150 | */ | 1150 | */ |
1151 | 1151 | ||
1152 | disk_part_iter_init(&piter, gp, DISK_PITER_INCL_EMPTY_PART0); | 1152 | disk_part_iter_init(&piter, gp, DISK_PITER_INCL_EMPTY_PART0); |
1153 | while ((hd = disk_part_iter_next(&piter))) { | 1153 | while ((hd = disk_part_iter_next(&piter))) { |
1154 | cpu = part_stat_lock(); | 1154 | cpu = part_stat_lock(); |
@@ -1172,7 +1172,7 @@ static int diskstats_show(struct seq_file *seqf, void *v) | |||
1172 | ); | 1172 | ); |
1173 | } | 1173 | } |
1174 | disk_part_iter_exit(&piter); | 1174 | disk_part_iter_exit(&piter); |
1175 | 1175 | ||
1176 | return 0; | 1176 | return 0; |
1177 | } | 1177 | } |
1178 | 1178 | ||