/* Delete the nids for one uuid if specified, otherwise delete all */
int class_del_uuid(const char *uuid)
{
/* Delete the nids for one uuid if specified, otherwise delete all */
int class_del_uuid(const char *uuid)
{
spin_lock (&g_uuid_lock);
if (uuid == NULL) {
list_splice_init(&g_uuid_list, &deathrow);
spin_lock (&g_uuid_lock);
if (uuid == NULL) {
list_splice_init(&g_uuid_list, &deathrow);