Re: [RFC] problem with grow_dev_page()/readpage()

Linus Torvalds (torvalds@transmeta.com)
Mon, 19 Nov 2001 11:48:03 -0800 (PST)


On Mon, 19 Nov 2001, Alexander Viro wrote:
>
> Look at block_read_full_page(). If it sees ->buffers != NULL, it
> assumes that buffer size corresponds to ->i_blkbits.

It doesn't matter - it doesn't _use_ the thing, if the buffers are mapped
(and they will always be mapped for block devices).

So it only cares about i_blkbits if it creates new buffers.

Linus

-
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/