Changed a buf_lock_t&& argument to a buf_lock_t argument.