diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1999-12-06 06:59:37 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1999-12-06 06:59:37 +0000 |
commit | f468f5c6819deb2013c93b927f0df7191209d84c (patch) | |
tree | 2c94b871a7fe0af2f596727b8775535891d691f1 /sys/ufs | |
parent | 184c6b3a551d8e25431851f66af05b88804eb7f3 (diff) |
Always make sure that softdep mounts are not async.
Diffstat (limited to 'sys/ufs')
-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; |