kernel - Fix cpu/token starvation, vfs_busy deadlocks. incls sysctl (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 21 Feb 2013 07:03:53 +0000 (23:03 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 21 Feb 2013 07:03:53 +0000 (23:03 -0800)
* Last commit had a bug in the deadlock fix for nlookup().  This fix
  is tested and works.

sys/kern/vfs_nlookup.c

index 6944fe3..01b1dee 100644 (file)
@@ -777,9 +777,9 @@ again:
            cache_dropmount(mp);
        }
 
-double_break:
        if (error) {
            cache_put(&nch);
+double_break:
            break;
        }