diff options
author | Don Lewis <truckman@FreeBSD.org> | 2005-09-30 18:07:41 +0000 |
---|---|---|
committer | Don Lewis <truckman@FreeBSD.org> | 2005-09-30 18:07:41 +0000 |
commit | bd3c2d867df780fd0ba98b14550b81da5680908e (patch) | |
tree | 9e904b90d9d95a774677892619bde564e956a568 /sys/kern/vfs_bio.c | |
parent | 2e93e9099e18cbff693dda6c8c3cb44fc334dd60 (diff) | |
download | src-bd3c2d867df780fd0ba98b14550b81da5680908e.tar.gz src-bd3c2d867df780fd0ba98b14550b81da5680908e.zip |
Un-staticize waitrunningbufspace() and call it before returning from
ffs_copyonwrite() if any async writes were launched.
Restore the threads previous TDP_NORUNNINGBUF state before returning
from ffs_copyonwrite().
Notes
Notes:
svn path=/head/; revision=150760
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r-- | sys/kern/vfs_bio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index 945d95d9a7aa..dd112980f08e 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -373,7 +373,7 @@ bufcountwakeup(void) * for earlier writes to complete and generally returns before the * caller's write has reached the device. */ -static __inline void +void waitrunningbufspace(void) { |