[PATCH] Use uint64 for volume.num_blocks

Martin Pitt martin at piware.de
Sun Aug 10 06:54:14 PDT 2008


Hi Danny,

Danny Kukawka [2008-08-10 10:07 +0200]:
> 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.

Thanks, done.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the hal mailing list