[PATCH] Use uint64 for volume.num_blocks

Danny Kukawka danny.kukawka at web.de
Sun Aug 10 01:07:32 PDT 2008


On Montag, 21. Juli 2008, Martin Pitt wrote:
> Hi,
>
> in https://launchpad.net/bugs/209483 we got reports from multiple
> users that some devices report a volume.num_blocks of more than 2G.
> Those then fail to be detected with
>
>   18:05:19.024 [I] blockdev.c:1448: Ignoring hotplug event - cannot read
> 'size' 18:05:19.024 [W] blockdev.c:1481: Not adding device object
>
> Attached patch uses uint64 for those, which reportedly fixes the issue.

Please commit.

Danny



More information about the hal mailing list