expand vput inline so that locking is managed properly