Re: [NEW FEATURE]Partitions on loop device for 2.6

From: Tomas Szepe
Date: Tue Dec 30 2003 - 02:28:09 EST


On Dec-24 2003, Wed, 18:20 +0100
BlaisorBlade <blaisorblade_spam@xxxxxxxx> wrote:

Thanks for the patch. Would you please inline it (instead
of attaching it) the next time you're sending one?

> if (register_blkdev(LOOP_MAJOR, "loop"))
> return -EIO;
>
>+ if (register_blkdev(PLOOP_MAJOR, "ploop")) {
>+ ret = -EIO;
>+ goto out_noreg;
>+ }

Let's make these consistent.

>+ printk(KERN_INFO "loop: loaded (max %d not partitioned devices "
>+ "and %d partitioned ones)\n", max_nopart_loop, max_part_loop);

... "%d regular loop devices and %d partitionable ones"

--
Tomas Szepe <szepe@xxxxxxxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/