put vfs_lock into open instead of write