Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/miscfs/fdesc/fdesc_vfsops.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/miscfs/fdesc/fdesc_vfsops.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.33 retrieving revision 1.33.2.3 diff -u -p -r1.33 -r1.33.2.3 --- src/sys/miscfs/fdesc/fdesc_vfsops.c 2001/05/30 11:57:16 1.33 +++ src/sys/miscfs/fdesc/fdesc_vfsops.c 2002/10/10 18:43:30 1.33.2.3 @@ -1,4 +1,4 @@ -/* $NetBSD: fdesc_vfsops.c,v 1.33 2001/05/30 11:57:16 mrg Exp $ */ +/* $NetBSD: fdesc_vfsops.c,v 1.33.2.3 2002/10/10 18:43:30 jdolecek Exp $ */ /* * Copyright (c) 1992, 1993, 1995 @@ -44,6 +44,9 @@ * /dev/fd Filesystem */ +#include +__KERNEL_RCSID(0, "$NetBSD: fdesc_vfsops.c,v 1.33.2.3 2002/10/10 18:43:30 jdolecek Exp $"); + #if defined(_KERNEL_OPT) #include "opt_compat_netbsd.h" #endif @@ -51,7 +54,6 @@ #include #include #include -#include #include #include #include @@ -93,6 +95,8 @@ fdesc_mount(mp, path, data, ndp, p) struct fdescmount *fmp; struct vnode *rvp; + if (mp->mnt_flag & MNT_GETARGS) + return 0; /* * Update is a no-op */ @@ -109,7 +113,7 @@ fdesc_mount(mp, path, data, ndp, p) rvp->v_flag |= VROOT; fmp->f_root = rvp; mp->mnt_flag |= MNT_LOCAL; - mp->mnt_data = (qaddr_t)fmp; + mp->mnt_data = fmp; vfs_getnewfsid(mp); (void) copyinstr(path, mp->mnt_stat.f_mntonname, MNAMELEN - 1, &size); @@ -344,6 +348,7 @@ struct vfsops fdesc_vfsops = { fdesc_fhtovp, fdesc_vptofh, fdesc_init, + NULL, fdesc_done, fdesc_sysctl, NULL, /* vfs_mountroot */