23
23
static struct file *do_open(char *name, int flags)
29
28
mnt = do_kern_mount("nfsd", 0, "nfsd", NULL);
31
30
return (struct file *)mnt;
33
error = vfs_path_lookup(mnt->mnt_root, mnt, name, 0, &nd);
32
file = file_open_root(mnt->mnt_root, mnt, name, flags);
34
34
mntput(mnt); /* drop do_kern_mount reference */
44
return dentry_open(nd.path.dentry, nd.path.mnt, flags,