Re: UML/man: BLKGETSIZE takes a long, not an int

2007-08-27 Thread Michael Kerrisk
Hello Nicolas, > I fear that my bug-report yesterday was very badly written, with me writing > to the wrong mailing-list and all. > > I was saying: > >> I found a type mismatch in UML that makes host block devices unusable as ubd >> devices on x86_64 and other 64 bits systems (segfault of the mm

Re: UML/man: BLKGETSIZE takes a long, not an int

2007-08-15 Thread Jeff Dike
On Mon, Aug 13, 2007 at 02:42:47PM +0200, Nicolas George wrote: > I found a type mismatch in UML that makes host block devices unusable as ubd > devices on x86_64 and other 64 bits systems (segfault of the mm subsystem): Looks sane, can I have a properly Signed-off-by: version of the patch?

UML/man: BLKGETSIZE takes a long, not an int

2007-08-13 Thread Nicolas George
Hi. I found a type mismatch in UML that makes host block devices unusable as ubd devices on x86_64 and other 64 bits systems (segfault of the mm subsystem): In block/ioctl.c, the following lines show that the BLKGETSIZE ioctl expects a pointer to a long: case BLKGETSIZE: