Commit c78e8101 authored by Jan Harkes's avatar Jan Harkes Committed by Jeff Garzik

[PATCH] Fix coda/devfs oops

The problem is caused by the devfs_mk_dir simplification that went in a
couple of weeks ago that didn't update one of the coda call-sites.
parent f5d27787
...@@ -371,7 +371,7 @@ static int init_coda_psdev(void) ...@@ -371,7 +371,7 @@ static int init_coda_psdev(void)
CODA_PSDEV_MAJOR); CODA_PSDEV_MAJOR);
return -EIO; return -EIO;
} }
devfs_mk_dir (NULL, "coda", NULL); devfs_mk_dir ("coda");
for (i = 0; i < MAX_CODADEVS; i++) { for (i = 0; i < MAX_CODADEVS; i++) {
char name[16]; char name[16];
sprintf(name, "coda/%d", i); sprintf(name, "coda/%d", i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment