K 10 svn:author V 3 mjg K 8 svn:date V 27 2020-01-26T00:40:27.247539Z K 7 svn:log V 324 vfs: fix freevnodes count update race against preemption vdbatch_process leaves the critical section too early, openign a time window where another thread can get scheduled and modify vd->freevnodes. Once it the preempted thread gets back it overrides the value with 0. Just move critical_exit to the end of the function. END