Correct a typo in the previous revision.

This commit is contained in:
Alan Cox 2004-11-08 06:01:39 +00:00
parent f7ebc7ceb7
commit 12ef9d214b

View File

@ -383,7 +383,7 @@ sf_buf_alloc(struct vm_page *m, int flags)
mtx_lock(&sf_freelist.sf_lock); mtx_lock(&sf_freelist.sf_lock);
while ((sf = SLIST_FIRST(&sf_freelist.sf_head)) == NULL) { while ((sf = SLIST_FIRST(&sf_freelist.sf_head)) == NULL) {
if (flags & SFB_NOWAIT) if (flags & SFB_NOWAIT)
goto break; break;
sf_buf_alloc_want++; sf_buf_alloc_want++;
mbstat.sf_allocwait++; mbstat.sf_allocwait++;
error = msleep(&sf_freelist, &sf_freelist.sf_lock, error = msleep(&sf_freelist, &sf_freelist.sf_lock,