From 35b86dc8de8fbd1cc7d74afc3d87020f88284c19 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 15 Sep 2003 02:56:48 +0000 Subject: [PATCH] Correct a typo in the previous revision. --- sys/kern/vfs_bio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c index e2ba116b1c7..a1d1b74e5c4 100644 --- a/sys/kern/vfs_bio.c +++ b/sys/kern/vfs_bio.c @@ -3681,7 +3681,7 @@ vmapbuf(struct buf *bp) */ retry: if (vm_fault_quick(addr >= bp->b_data ? addr : bp->b_data, - prot)) { + prot) < 0) { vm_page_lock_queues(); for (i = 0; i < pidx; ++i) { vm_page_unhold(bp->b_pages[i]);