Re: 2.5.70-mm7

Joe Thornber (thornber@sistina.com)
Wed, 11 Jun 2003 10:00:01 +0100


Christophe,

On Wed, Jun 11, 2003 at 01:33:53AM +0200, Christophe Saout wrote:
> Ok, I think I found the problem.

You are quite right. I am an idiot. I think the simplest way to fix
this is stop trying to overload the 'minor' argument to dm_create, and
instead have a seperate dm_create_with_minor function call.

ie.

int dm_create(struct dm_table *table, struct mapped_device **md);
int dm_create_with_minor(unsigned int minor, struct dm_table *table,
struct mapped_device **md);

I'm testing a patch for this now (with LVM this time, not just
dmsetup), and will post to the list in the next hour.

Sorry for the inconvenience,

- Joe
-
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/