Hi,
I found this when fixing raid on sparc64.
Anton
--- linux/drivers/block/md.c Thu Aug 3 21:17:08 2000
+++ linux_work/drivers/block/md.c Tue Aug 8 01:11:06 2000
@@ -2741,7 +2741,7 @@
if (md_copy_from_user(&info, (void*)arg, sizeof(info)))
err = -EFAULT;
else
- err = add_new_disk(mddev, (void *)arg);
+ err = add_new_disk(mddev, &info);
goto done_unlock;
}
case HOT_REMOVE_DISK:
-
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 : Tue Aug 15 2000 - 21:00:16 EST