diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2021-08-22 16:17:42 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2021-08-22 16:20:07 +0000 |
commit | 614faa32691bf9ccd2690624ad37470e08fd14d3 (patch) | |
tree | f036de7451b47c4a1931b85ce812324f341022d9 | |
parent | 3904e7966eb353c636c6aa638a6fdf1489ee514c (diff) | |
download | src-614faa32691bf9ccd2690624ad37470e08fd14d3.tar.gz src-614faa32691bf9ccd2690624ad37470e08fd14d3.zip |
vfs: fix cache-relatecd LOR introduced in the previous change
Reported by: kib
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r-- | sys/kern/vfs_mount.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 166d7336eaf1..6804f6eb68bf 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1212,10 +1212,10 @@ vfs_domount_first( MNT_IUNLOCK(mp); VI_LOCK(vp); - cache_purge(vp); vn_irflag_set_locked(vp, VIRF_MOUNTPOINT); vp->v_mountedhere = mp; VI_UNLOCK(vp); + cache_purge(vp); /* * We need to lock both vnodes. |