From: Matthew Dillon Date: Thu, 21 Feb 2013 07:03:53 +0000 (-0800) Subject: kernel - Fix cpu/token starvation, vfs_busy deadlocks. incls sysctl (2) X-Git-Tag: v3.4.0rc~252 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/d6069a5c0046218583cae533b8f126b219f4e1e3 kernel - Fix cpu/token starvation, vfs_busy deadlocks. incls sysctl (2) * Last commit had a bug in the deadlock fix for nlookup(). This fix is tested and works. --- diff --git a/sys/kern/vfs_nlookup.c b/sys/kern/vfs_nlookup.c index 6944fe36f6..01b1dee496 100644 --- a/sys/kern/vfs_nlookup.c +++ b/sys/kern/vfs_nlookup.c @@ -777,9 +777,9 @@ again: cache_dropmount(mp); } -double_break: if (error) { cache_put(&nch); +double_break: break; }