1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

I missed one VOP_CLOSE in the previous commit.

Pointed out by:	bde
This commit is contained in:
Poul-Henning Kamp 2002-03-11 16:27:04 +00:00
parent be036866cf
commit 063f776327
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=92095

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);