summaryrefslogtreecommitdiffstats
path: root/sys/ufs/ffs
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2005-10-01 19:10:48 +0000
committertruckman <truckman@FreeBSD.org>2005-10-01 19:10:48 +0000
commit52e0f422bf81cfa5a507b74efe003105002b6c4a (patch)
tree1f9e1a3d815773b057003d950e6749e518bc6f1e /sys/ufs/ffs
parentc8db4e2407a624c630397e9ee1e7c1c0e0b75af6 (diff)
downloadFreeBSD-src-52e0f422bf81cfa5a507b74efe003105002b6c4a.zip
FreeBSD-src-52e0f422bf81cfa5a507b74efe003105002b6c4a.tar.gz
Correct previous commit to fix the sense of the TDP_NORUNNINGBUF
check in ffs_copyonwrite() that is a precondition for calling waitrunningbufspace(). Pointed out by: tegge Pointy hat to: truckman MFC after: 3 days
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r--sys/ufs/ffs/ffs_snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ffs/ffs_snapshot.c b/sys/ufs/ffs/ffs_snapshot.c
index 5c62d02..0aa7df8 100644
--- a/sys/ufs/ffs/ffs_snapshot.c
+++ b/sys/ufs/ffs/ffs_snapshot.c
@@ -2141,7 +2141,7 @@ retry:
prev_norunningbuf;
} else
VI_UNLOCK(devvp);
- if (launched_async_io && (td->td_pflags & TDP_NORUNNINGBUF))
+ if (launched_async_io && (td->td_pflags & TDP_NORUNNINGBUF) == 0)
waitrunningbufspace();
/*
* I/O on bp will now be started, so count it in runningbufspace.
OpenPOWER on IntegriCloud