/* zfcp_dbf_rec_thread - trace event related to recovery thread operation @id2: identifier for event @adapter: adapter This function assumes that the caller does not hold erp_lock.  */
void zfcp_dbf_rec_thread_lock(char *id2, struct zfcp_dbf *dbf)
/* zfcp_dbf_rec_thread - trace event related to recovery thread operation @id2: identifier for event @adapter: adapter This function assumes that the caller does not hold erp_lock.  */
void zfcp_dbf_rec_thread_lock(char *id2, struct zfcp_dbf *dbf)
{
	struct zfcp_adapter *adapter = dbf->adapter;
	unsigned long flags;
	read_lock_irqsave(&adapter->erp_lock, flags);
	zfcp_dbf_rec_thread(id2, dbf);
	read_unlock_irqrestore(&adapter->erp_lock, flags);
}