Subject: Oddity in physio()
To: None <tech-kern@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: tech-kern
Date: 05/29/2001 14:03:17
                        error = uvm_vslock(p, bp->b_data, todo,
                                           (flags & B_READ) ?
                                           VM_PROT_READ | VM_PROT_WRITE :
                                           VM_PROT_READ);

Am I missing something really obvious, or is that B_READ test backwards?

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>