diff options
author | msmith <msmith@FreeBSD.org> | 1997-03-05 01:57:54 +0000 |
---|---|---|
committer | msmith <msmith@FreeBSD.org> | 1997-03-05 01:57:54 +0000 |
commit | 6210151cea2344b71581cd95e4644bad5c1fae0b (patch) | |
tree | bf13be9a48e7fe073eb597ae7a57785b8d0d5f1a /sys | |
parent | 7b27305852f56dfee31375df9ad131e96d315858 (diff) | |
download | FreeBSD-src-6210151cea2344b71581cd95e4644bad5c1fae0b.zip FreeBSD-src-6210151cea2344b71581cd95e4644bad5c1fae0b.tar.gz |
Supply the mount point given to mfs_mount when getting a vnode for the
mount. This may have been a contributor to the 'null v_mount in
fsync()' problem
This is another, perhaps slightly less urgent, 2.2 last-minute candidate.
Reviewed by: sef
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ufs/mfs/mfs_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/mfs/mfs_vfsops.c b/sys/ufs/mfs/mfs_vfsops.c index 7e8bdd0..67ded87 100644 --- a/sys/ufs/mfs/mfs_vfsops.c +++ b/sys/ufs/mfs/mfs_vfsops.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)mfs_vfsops.c 8.11 (Berkeley) 6/19/95 - * $Id$ + * $Id: mfs_vfsops.c,v 1.26 1997/02/22 09:47:31 peter Exp $ */ #include <sys/param.h> @@ -372,7 +372,7 @@ mfs_mount(mp, path, data, ndp, p) */ MALLOC(mfsp, struct mfsnode *, sizeof *mfsp, M_MFSNODE, M_WAITOK); - err = getnewvnode(VT_MFS, (struct mount *)0, mfs_vnodeop_p, &devvp); + err = getnewvnode(VT_MFS, mp, mfs_vnodeop_p, &devvp); if (err) { FREE(mfsp, M_MFSNODE); goto error_1; |