Author: markj
Date: Sat Oct 29 18:47:28 2016
New Revision: 308095
URL: https://svnweb.freebsd.org/changeset/base/308095

Log:
  Add one more use of unlock_vp().
  
  Discussed with:       kib
  X-MFC With:   r308094

Modified:
  head/sys/vm/vm_fault.c

Modified: head/sys/vm/vm_fault.c
==============================================================================
--- head/sys/vm/vm_fault.c      Sat Oct 29 18:03:29 2016        (r308094)
+++ head/sys/vm/vm_fault.c      Sat Oct 29 18:47:28 2016        (r308095)
@@ -328,8 +328,7 @@ RetryFault:;
                        growstack = FALSE;
                        goto RetryFault;
                }
-               if (fs.vp != NULL)
-                       vput(fs.vp);
+               unlock_vp(&fs);
                return (result);
        }
 
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to