# Re: Partitionable raid array... How to create devices ?

- From: Neil Brown \<hidden\>
- Date: 2007-10-16 09:49:09 
- List: linux-raid
- Page: https://ratatoskr.run/linux-raid/2007/10/6600947
- Thread: https://ratatoskr.run/linux-raid/2007/10/6600947/t.md

```text
On Tuesday October 16, neilb@suse.de wrote:
> However what you used should work.  I'll get that fixed for the next
> release.

This is the patch that will fix it.  I plan to release 2.6.4 late this
week or early next.

NeilBrown



### Diffstat output
 ./mdopen.c |    1 +
 1 file changed, 1 insertion(+)

diff .prev/mdopen.c ./mdopen.c
--- .prev/mdopen.c	2007-10-16 19:47:14.000000000 +1000
+++ ./mdopen.c	2007-10-16 19:47:25.000000000 +1000
@@ -161,6 +161,7 @@ int open_mddev(char *dev, int autof)
 				"not compatable with device named %s\n", dev);
 				return -1;
 			}
+			major_num = get_mdp_major();
 			break;
 		case 5: /* default to md if not standard */
 			break;
```
