Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
@@ -310,6 +310,11 @@ retry:
|
||||
|
||||
panic("VFS: Unable to mount root fs on %s", b);
|
||||
}
|
||||
|
||||
printk("No filesystem could mount root, tried: ");
|
||||
for (p = fs_names; *p; p += strlen(p)+1)
|
||||
printk(" %s", p);
|
||||
printk("\n");
|
||||
panic("VFS: Unable to mount root fs on %s", __bdevname(ROOT_DEV, b));
|
||||
out:
|
||||
putname(fs_names);
|
||||
|
@@ -26,10 +26,12 @@ static void __init free(void *where)
|
||||
|
||||
/* link hash */
|
||||
|
||||
#define N_ALIGN(len) ((((len) + 1) & ~3) + 2)
|
||||
|
||||
static __initdata struct hash {
|
||||
int ino, minor, major;
|
||||
struct hash *next;
|
||||
char *name;
|
||||
char name[N_ALIGN(PATH_MAX)];
|
||||
} *head[32];
|
||||
|
||||
static inline int hash(int major, int minor, int ino)
|
||||
@@ -57,7 +59,7 @@ static char __init *find_link(int major, int minor, int ino, char *name)
|
||||
q->ino = ino;
|
||||
q->minor = minor;
|
||||
q->major = major;
|
||||
q->name = name;
|
||||
strcpy(q->name, name);
|
||||
q->next = NULL;
|
||||
*p = q;
|
||||
return NULL;
|
||||
@@ -133,8 +135,6 @@ static inline void eat(unsigned n)
|
||||
count -= n;
|
||||
}
|
||||
|
||||
#define N_ALIGN(len) ((((len) + 1) & ~3) + 2)
|
||||
|
||||
static __initdata char *collected;
|
||||
static __initdata int remains;
|
||||
static __initdata char *collect;
|
||||
|
Reference in New Issue
Block a user