Re: [PATCH] fix NFS root in 2.4.12

Alexander Viro (viro@math.psu.edu)
Mon, 15 Oct 2001 22:09:40 -0400 (EDT)


On Mon, 15 Oct 2001, Tim Hockin wrote:

> Linus, Alan,
>
> This one liner fixes NFS root for kernel 2.4.12. Please apply.

>- vfsmnt = do_kern_mount("nfs", root_mountflags, "/dev/root", data);
>+ vfsmnt = do_kern_mount("nfs", root_mountflags, "/dev/root", NULL, data);

Had you actually tried to compile that? do_kern_mount() is defined as

struct vfsmount *do_kern_mount(char *type, int flags, char *name, void *data)

Where did you find 5th argument?

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