diff options
author | 1999-12-06 06:59:36 +0000 | |
---|---|---|
committer | 1999-12-06 06:59:36 +0000 | |
commit | 4fcd72ff06c1c1dea686008d9b556382e3614e29 (patch) | |
tree | 9f661c315ce6cb017e9a5c3b2f8b16122da040e1 | |
parent | Don't compute values that we don't use later. (diff) | |
download | wireguard-openbsd-4fcd72ff06c1c1dea686008d9b556382e3614e29.tar.xz wireguard-openbsd-4fcd72ff06c1c1dea686008d9b556382e3614e29.zip |
Always make sure that softdep mounts are not async.
-rw-r--r-- | sys/ufs/ffs/ffs_vfsops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vfsops.c b/sys/ufs/ffs/ffs_vfsops.c index 030a648ccc1..37b3183887c 100644 --- a/sys/ufs/ffs/ffs_vfsops.c +++ b/sys/ufs/ffs/ffs_vfsops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_vfsops.c,v 1.24 1999/12/03 21:29:29 art Exp $ */ +/* $OpenBSD: ffs_vfsops.c,v 1.25 1999/12/06 06:59:36 art Exp $ */ /* $NetBSD: ffs_vfsops.c,v 1.19 1996/02/09 22:22:26 christos Exp $ */ /* @@ -341,6 +341,8 @@ ffs_mount(mp, path, data, ndp, p) (void)VFS_STATFS(mp, &mp->mnt_stat, p); success: + if ((mp->mnt_flag & MNT_SOFTDEP)) + mp->mnt_flag &= ~MNT_ASYNC; if (path && (mp->mnt_flag & MNT_UPDATE)) { /* Update clean flag after changing read-onlyness. */ fs = ump->um_fs; |