2.2.47pre3 md.c:3317 MAX_MD_DEV should be MAX_MD_DEVS

From: Glenn McGrath (bug1@netconnect.com.au)
Date: Thu Feb 17 2000 - 12:34:24 EST


In 2.3.47 pre3 in /drivers/block.md.c function md__init

line 3317 fails on make due to MAX_MD_DEV not being undeclared, i
believe an S has been left off, and it should be MAX_MD_DEVS. I changed
it and it worked for me.

The actual line is question is

devfs_register_series (devfs_handle, "%u", MAX_MD_DEV,DEVFS_FL_DEFAULT,
MAJOR_NR, 0, S_IFBLK |S_IRUSR |S_IWUSR, 0, 0, &md_fops, NULL);

which i where i changed MAX_MD_DEV to MAX_MD_DEVS

Im very pleased to see raid 0.90 in, thanks for your work.

Glenn McGrath

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:20 EST