http://oss.sgi.com/projects/xfs/mail_archive/0110/msg00739.html To: juergen.bruestle at primedisc.com Subject: Re: Linux
2.4.12, xfs-patch From: Steve Lord <lord at sgi.com>
Date: Mon, 22 Oct 2001 11:00:41 -0500
cc: linux-xfs at oss.sgi.com Comments: In-reply-to juergen.bruestle at primedisc.com message dated "Mon, 22 Oct 2001 18:04:27
+0200." References:<C1256AED.00584CEA.00 at prisn007.primedisc.com>
Sender: owner-linux-xfs at oss.sgi.com --------------------------------------------------------------------------------
Thanks,
I will ensuse this chunk of code is correct in the
2.4.13-pre6 code which should show up this morning.
Steve
>
> Hallo,
>
> Little Fix in File fs/super.c
>
> Compiler ERROR: too few arguments to function `do_kern_mount'
>
>
>
> Function: void __init mount_root(void)
> .
> .
> .
> .
> #ifdef CONFIG_ROOT_NFS
> if (MAJOR(ROOT_DEV) != UNNAMED_MAJOR)
> goto skip_nfs;
> data = nfs_root_data();
> if (!data)
> goto no_nfs;
>
> === old >>> vfsmnt = do_kern_mount("nfs", root_mountflags,
> "/dev/root", data);
> === new >>> vfsmnt = do_kern_mount("nfs", root_mountflags, "nfs",
> "/dev/root", data);
>
> if (!IS_ERR(vfsmnt)) {
> printk ("VFS: Mounted root (%s filesystem).", "nfs");
> ROOT_DEV = vfsmnt->mnt_sb->s_dev;
> goto attach_it;
> }
> no_nfs:
> .
> .
> .
> .
> .
>
>
> Best Regards
> J|rgen Br|stle
>