diff options
| author | Jeff Roberson <jeff@FreeBSD.org> | 2003-02-09 11:21:40 +0000 |
|---|---|---|
| committer | Jeff Roberson <jeff@FreeBSD.org> | 2003-02-09 11:21:40 +0000 |
| commit | 15553af7108e63f0b0248640a5ddfce499a96d53 (patch) | |
| tree | 68107458d119a320b24b48fbf011633ec9c0961d | |
| parent | 233b1b978b878820081527d727b509834caf2a7a (diff) | |
Notes
| -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 baf1851d43c7..4c4e14f40b70 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -342,7 +342,7 @@ runningbufwakeup(struct buf *bp) static __inline void bufcountwakeup(void) { - atomic_subtract_int(&numfreebuffers, 1); + atomic_add_int(&numfreebuffers, 1); mtx_lock(&nblock); if (needsbuffer) { needsbuffer &= ~VFS_BIO_NEED_ANY; |
