summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mount.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r--sys/kern/vfs_mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 94e2715..7930386 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -428,6 +428,7 @@ vfs_mount_alloc(struct vnode *vp, struct vfsconf *vfsp,
mac_init_mount(mp);
mac_create_mount(td->td_ucred, mp);
#endif
+ arc4rand(&mp->mnt_hashseed, sizeof mp->mnt_hashseed, 0);
*mpp = mp;
return (0);
}
OpenPOWER on IntegriCloud