summaryrefslogtreecommitdiffstats
path: root/sys/ufs
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-03-11 20:18:14 +0000
committerkib <kib@FreeBSD.org>2012-03-11 20:18:14 +0000
commitbb02147acb8d97c8e5463e1512889b6ba054092a (patch)
treeca99ec8130a11007de85d4a24c85ea2ed298d563 /sys/ufs
parent76b91e402167b859c8fa885afa496cb3066eba45 (diff)
downloadFreeBSD-src-bb02147acb8d97c8e5463e1512889b6ba054092a.zip
FreeBSD-src-bb02147acb8d97c8e5463e1512889b6ba054092a.tar.gz
In ffs_syncvnode(), pass boolean false as second argument of ffs_update().
Synchronous inode block update is not needed for MNT_LAZY callers (syncer), and since waitfor values are not zero, code did unneccessary synchronous update. Submitted by: bde Reviewed by: mckusick Tested by: pho MFC after: 2 weeks
Diffstat (limited to 'sys/ufs')
-rw-r--r--sys/ufs/ffs/ffs_vnops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_vnops.c b/sys/ufs/ffs/ffs_vnops.c
index a4f6fbe..fd991fb 100644
--- a/sys/ufs/ffs/ffs_vnops.c
+++ b/sys/ufs/ffs/ffs_vnops.c
@@ -305,7 +305,7 @@ next:
if (noupdate)
return (0);
else
- return (ffs_update(vp, waitfor));
+ return (ffs_update(vp, 0));
}
/* Drain IO to see if we're done. */
bufobj_wwait(bo, 0, 0);
OpenPOWER on IntegriCloud