Put back the vfs_object_create() calls, they do make a difference when

my test-setup does what I want it to instead of what I ask it to.

Pointed out by:	tegge
This commit is contained in:
Poul-Henning Kamp 2004-11-12 10:27:14 +00:00
parent cc00e79feb
commit cf5e414960
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137608

View file

@ -430,6 +430,7 @@ ffs_reload(struct mount *mp, struct thread *td)
vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, td);
if (vinvalbuf(devvp, 0, td->td_ucred, td, 0, 0) != 0)
panic("ffs_reload: dirty1");
vfs_object_create(devvp, td, td->td_ucred);
VOP_UNLOCK(devvp, 0, td);
/*
@ -574,6 +575,7 @@ ffs_mountfs(devvp, mp, td)
cred = td ? td->td_ucred : NOCRED;
vfs_object_create(devvp, td, td->td_ucred);
ronly = (mp->mnt_flag & MNT_RDONLY) != 0;
#if 0
/*