vfs: add missing VIRF_MOUNTPOINT in vfs_mountroot_shuffle
Reported by: mav
This commit is contained in:
parent
0d9e99ce3b
commit
7b2ac8eb9b
@ -369,6 +369,7 @@ vfs_mountroot_shuffle(struct thread *td, struct mount *mpdevfs)
|
||||
cache_purge(vp);
|
||||
VI_LOCK(vp);
|
||||
mporoot->mnt_vnodecovered = vp;
|
||||
vn_irflag_set_locked(vp, VIRF_MOUNTPOINT);
|
||||
vp->v_mountedhere = mporoot;
|
||||
strlcpy(mporoot->mnt_stat.f_mntonname,
|
||||
fspath, MNAMELEN);
|
||||
|
Loading…
Reference in New Issue
Block a user