Re: block device size in 2.5

From: Alexander Viro (viro@math.psu.edu)
Date: Thu Oct 03 2002 - 05:46:30 EST


On Thu, 3 Oct 2002, Joe Thornber wrote:

> Why is the total size of a block device held in struct gendisk rather
> than struct block_device ?

It is mirrored into bdev->bd_inode->i_size. However, struct block_device
is not persistent - persistent stuff lives in struct gendisk.

-
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 Oct 07 2002 - 22:00:38 EST