Re: [PATCH 2.5.74-mm2] nbd: make nbd and block layer agree about device and block sizes

From: Jeff Garzik (jgarzik@pobox.com)
Date: Sun Jul 06 2003 - 17:02:28 EST


Paul Clements wrote:
> On Sun, 6 Jul 2003, Jeff Garzik wrote:
>>Also, I wonder if you found a bug/oversight in set_blocksize -- it sets
>>bd_inode->i_blkbits but not bd_inode->i_size. I think it should set
>>i_size also. Maybe Andrew or Al can confirm/refute this assertion.
>
>
> OK, I'll wait for a response on this, and then redo the patch as appropriate...

No, nevermind. What I was said dumb ;-)

The inode's size should not be the block size.

        Jeff

-
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 : Mon Jul 07 2003 - 22:00:27 EST