I missed one VOP_CLOSE in the previous commit.
Pointed out by: bde
This commit is contained in:
parent
57affa9748
commit
3c1100894c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user