If the vnode is doomed the routine hasshould have nothing to do in the loop to begin with. Also note the error checking with the flag was spurious.
While here grab curthread early to shorten the lineNonetheless, keep it but remove the check for an always true condition.