xfs
[Top] [All Lists]

Linux 2.4.12, xfs-patch

To: linux-xfs@xxxxxxxxxxx
Subject: Linux 2.4.12, xfs-patch
From: juergen.bruestle@xxxxxxxxxxxxx
Date: Mon, 22 Oct 2001 18:04:27 +0200
Sender: owner-linux-xfs@xxxxxxxxxxx

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).\n", "nfs");
                ROOT_DEV = vfsmnt->mnt_sb->s_dev;
                goto attach_it;
        }
no_nfs:
.
.
.
.
.


Best Regards
Jürgen Brüstle



<Prev in Thread] Current Thread [Next in Thread>