From f468f5c6819deb2013c93b927f0df7191209d84c Mon Sep 17 00:00:00 2001 From: Artur Grabowski Date: Mon, 6 Dec 1999 06:59:37 +0000 Subject: Always make sure that softdep mounts are not async. --- sys/ufs/ffs/ffs_vfsops.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/ufs/ffs') 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; -- cgit v1.2.3