has_lock_type
return has_lock_type(lock, VIO_READ_LOCK);
VDO_ASSERT_LOG_ONLY(!has_lock_type(lock, VIO_BLOCK_MAP_WRITE_LOCK),