We need to pre-compute the size because the block device layer wants
to know how big devices were so it can do sanity checking on the
incoming requests. This was done in the historically by setting
blk_size[MAJOR_NR] to point to an array which contained the size of
the minor devices in kilobytes, and in the new world order, via the
set_capacity() call.
- Ted
-
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/