[BUG] raidtools-1.00.3 - BLKGETSIZE ioctl call wrong

From: Heiko Carstens <hidden>
Date: 2004-01-08 13:42:14

Hi,

there is a bug in raidtools 1.00.3:
when issueing the BLKGETSIZE ioctl, the raidtools expect the return value
in a __u32 bit variable called nr_blocks. Since the BLKGETSIZE ioctl writes
the result into an unsigned long, this doesn't fit on 64 bit architectures and
therefore has some strange effects (at least on big endian machines). Please
apply the attached patch.

Thanks,
Heiko

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help