lkml.org 
[lkml]   [2003]   [Jun]   [11]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 11 Jun 2003 10:00:01 +0100
FromJoe Thornber <>
SubjectRe: 2.5.70-mm7
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/

\
 
 \ /
  Last update: 2005-03-22 12:36    [W:0.180 / U:0.130 seconds]
©2003-2008 Jasper Spaans