/* We use the address of the rsb struct as a simple local identifier for the rsb so we can match an rcom reply with the rsb it was sent for.  */
static int recover_list_empty(struct dlm_ls *ls)
/* We use the address of the rsb struct as a simple local identifier for the rsb so we can match an rcom reply with the rsb it was sent for.  */
static int recover_list_empty(struct dlm_ls *ls)
{
	int empty;
	spin_lock(&ls->ls_recover_list_lock);
	empty = list_empty(&ls->ls_recover_list);
	spin_unlock(&ls->ls_recover_list_lock);
	return empty;
}