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

From: Linus Torvalds (torvalds@transmeta.com)
Date: Mon Nov 19 2001 - 14:48:03 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 23 2001 - 21:00:21 EST