> | if(blksize_size[MAJOR(dev)])
> | block = blksize_size[MAJOR(dev)][MINOR(dev)];
> |
> | if (!(bh = bread(MKDEV(MAJOR(dev), MINOR(dev) & ~0xf), 0, block)))
> | return -1;
>
> I think that this code reads /dev/sda with the block size of /dev/sda1,
> but the block size should be of /dev/sda.
Yes. Change the MINOR(dev) in the block = assignement to have the & ~0xf too
and it should be right
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]