Author: alc
Date: Tue Dec 28 20:02:30 2010
New Revision: 216772
URL: http://svn.freebsd.org/changeset/base/216772

Log:
  Correct a typo in vm_fault_quick_hold_pages().
  
  Reported by:  Bartosz Stec

Modified:
  head/sys/vm/vm_fault.c

Modified: head/sys/vm/vm_fault.c
==============================================================================
--- head/sys/vm/vm_fault.c      Tue Dec 28 19:26:57 2010        (r216771)
+++ head/sys/vm/vm_fault.c      Tue Dec 28 20:02:30 2010        (r216772)
@@ -1084,7 +1084,7 @@ vm_fault_quick_hold_pages(vm_map_t map, 
                if (*mp == NULL)
                        pmap_failed = TRUE;
                else if ((prot & VM_PROT_WRITE) != 0 &&
-                   (*ma)->dirty != VM_PAGE_BITS_ALL) {
+                   (*mp)->dirty != VM_PAGE_BITS_ALL) {
                        /*
                         * Explicitly dirty the physical page.  Otherwise, the
                         * caller's changes may go unnoticed because they are
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to