Avoiding openning same device multiple times in device iterator.

* kern/device.c (grub_device_iterate): Define struct part_ent,
	and use it to build a list of partitions in interate_disk() and
	iterate_partition().
This commit is contained in:
davem 2009-04-24 12:04:10 +00:00
parent c8c08833e3
commit 0d31250038
2 changed files with 51 additions and 15 deletions

View file

@ -1,3 +1,11 @@
2009-04-24 David S. Miller <davem@davemloft.net>
Avoiding openning same device multiple times in device iterator.
* kern/device.c: (grub_device_iterate): Define struct part_ent,
and use it to build a list of partitions in interate_disk() and
iterate_partition().
2009-04-23 David S. Miller <davem@davemloft.net>
* kern/sparc64/ieee1275/openfw.c: Unused, delete.