Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 258598
b: refs/heads/master
c: 9f5e486
h: refs/heads/master
v: v3
  • Loading branch information
Wanlong Gao authored and Jens Axboe committed Jun 13, 2011
1 parent 08f5b3e commit 64714a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4d0d98b60eba726e0a4f3e6617628b070c444707
refs/heads/master: 9f5e486550456587348e2048eecda5bee778250a
6 changes: 3 additions & 3 deletions trunk/block/genhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ void add_disk(struct gendisk *disk)
disk->major = MAJOR(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_register_dev(bdi, disk_devt(disk));

Expand Down Expand Up @@ -1148,7 +1148,7 @@ static int diskstats_show(struct seq_file *seqf, void *v)
"wsect wuse running use aveq"
"\n\n");
*/

disk_part_iter_init(&piter, gp, DISK_PITER_INCL_EMPTY_PART0);
while ((hd = disk_part_iter_next(&piter))) {
cpu = part_stat_lock();
Expand All @@ -1172,7 +1172,7 @@ static int diskstats_show(struct seq_file *seqf, void *v)
);
}
disk_part_iter_exit(&piter);

return 0;
}

Expand Down

0 comments on commit 64714a8

Please sign in to comment.