fix vnode locking in snapshot loading code