adding to lock.c in vfs