Correct.
> Also, I would appreciate knowing if anyone is acting as
> maintainer for drivers/block/rd.c, or if I should just send
> patches for rd.c directly to Linus if nobody complains on
> the linux-kernel mailing list.
Al has been working on the problem. To permanently fix it so it doesn't
break each time a change to do_open() happens. Yes, this ramdisk driver
is that brittle.
> + rd_bdev[unit]->bd_inode->i_size = rd_kbsize[unit] << 10;
My temporary hack around the problem was to use rd_length[unit] since
that's already in bytes. But anything that adds code here just makes
the driver slightly more brittle.
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/