diff options
author | Bosko Milekic <bmilekic@FreeBSD.org> | 2001-02-09 06:11:45 +0000 |
---|---|---|
committer | Bosko Milekic <bmilekic@FreeBSD.org> | 2001-02-09 06:11:45 +0000 |
commit | 9ed346bab02c967ac656a58bc024f9505d8e3d7a (patch) | |
tree | d3c094e833fc39df4460403c9499fab2981579c4 /sys/kern/vfs_mount.c | |
parent | c27eb220c245e2b0f32d16a84d5edb3e42ccd2f8 (diff) | |
download | src-test2-9ed346bab02c967ac656a58bc024f9505d8e3d7a.tar.gz src-test2-9ed346bab02c967ac656a58bc024f9505d8e3d7a.zip |
Notes
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 2ca4618599fc..c1447ffeb4b5 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -230,9 +230,9 @@ done: } else { /* register with list of mounted filesystems */ - mtx_enter(&mountlist_mtx, MTX_DEF); + mtx_lock(&mountlist_mtx); TAILQ_INSERT_HEAD(&mountlist, mp, mnt_list); - mtx_exit(&mountlist_mtx, MTX_DEF); + mtx_unlock(&mountlist_mtx); /* sanity check system clock against root filesystem timestamp */ inittodr(mp->mnt_time); |