I missed one VOP_CLOSE in the previous commit.

Pointed out by:	bde
This commit is contained in:
phk 2002-03-11 16:27:04 +00:00
parent 57affa9748
commit 3c1100894c

View File

@ -895,8 +895,13 @@ ffs_unmount(mp, mntflags, td)
ump->um_devvp->v_rdev->si_mountpoint = NULL;
vinvalbuf(ump->um_devvp, V_SAVE, NOCRED, td, 0, 0);
/* XXX: see comment above VOP_OPEN */
#ifdef notyet
error = VOP_CLOSE(ump->um_devvp, fs->fs_ronly ? FREAD : FREAD|FWRITE,
NOCRED, td);
#else
error = VOP_CLOSE(ump->um_devvp, FREAD|FWRITE, NOCRED, td);
#endif
vrele(ump->um_devvp);