diff options
author | dg <dg@FreeBSD.org> | 1995-08-16 13:16:58 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-08-16 13:16:58 +0000 |
commit | b6d06a9f5d50796120cce296e1743d2b3f75204e (patch) | |
tree | 73457a506d294b187165ff9ab98b08886481ccb3 /sys/ufs | |
parent | 6ff589c73a58e34d78bf2a9256b3b530cc64ca4a (diff) | |
download | FreeBSD-src-b6d06a9f5d50796120cce296e1743d2b3f75204e.zip FreeBSD-src-b6d06a9f5d50796120cce296e1743d2b3f75204e.tar.gz |
Honor -async mount option when doing the inode update.
Obtained from: 4.4BSD-Lite2
Diffstat (limited to 'sys/ufs')
-rw-r--r-- | sys/ufs/ffs/ffs_inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index b3b327c..1b8d25c 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_inode.c 8.5 (Berkeley) 12/30/93 - * $Id: ffs_inode.c,v 1.13 1995/03/26 23:29:10 davidg Exp $ + * $Id: ffs_inode.c,v 1.14 1995/08/04 05:49:17 davidg Exp $ */ #include <sys/param.h> @@ -138,7 +138,7 @@ ffs_update(ap) } *((struct dinode *)bp->b_data + ino_to_fsbo(fs, ip->i_number)) = ip->i_din; - if (ap->a_waitfor) + if (ap->a_waitfor && (ap->a_vp->v_mount->mnt_flag & MNT_ASYNC) == 0) return (bwrite(bp)); else { bdwrite(bp); |