## Automatically generated incremental diff
## From:   linux-2.5.73-bk10
## To:     linux-2.5.74
## Robot:  $Id: make-incremental-diff,v 1.11 2002/02/20 02:59:33 hpa Exp $

diff -urN linux-2.5.73-bk10/Makefile linux-2.5.74/Makefile
--- linux-2.5.73-bk10/Makefile	2003-07-02 14:31:50.000000000 -0700
+++ linux-2.5.74/Makefile	2003-07-02 14:31:55.000000000 -0700
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 5
-SUBLEVEL = 73
-EXTRAVERSION = -bk10
+SUBLEVEL = 74
+EXTRAVERSION =
 
 # *DOCUMENTATION*
 # To see a list of typical targets execute "make help"
diff -urN linux-2.5.73-bk10/drivers/md/dm-ioctl.c linux-2.5.74/drivers/md/dm-ioctl.c
--- linux-2.5.73-bk10/drivers/md/dm-ioctl.c	2003-06-22 11:32:38.000000000 -0700
+++ linux-2.5.74/drivers/md/dm-ioctl.c	2003-07-02 14:31:57.000000000 -0700
@@ -238,6 +238,7 @@
 	list_del(&hc->name_list);
 	unregister_with_devfs(hc);
 	dm_put(hc->md);
+	free_cell(hc);
 }
 
 void dm_hash_remove_all(void)
@@ -729,8 +730,7 @@
 	dm_table_put(table);
 	dm_put(md);
 
-	yield();
-	set_current_state(TASK_RUNNING);
+	schedule();
 
       out:
 	return results_to_user(user, param, NULL, 0);
diff -urN linux-2.5.73-bk10/drivers/md/dm.c linux-2.5.74/drivers/md/dm.c
--- linux-2.5.73-bk10/drivers/md/dm.c	2003-06-22 11:33:07.000000000 -0700
+++ linux-2.5.74/drivers/md/dm.c	2003-07-02 14:31:57.000000000 -0700
@@ -783,10 +783,9 @@
 		if (!atomic_read(&md->pending))
 			break;
 
-		yield();
+		io_schedule();
 	}
-
-	current->state = TASK_RUNNING;
+	set_current_state(TASK_RUNNING);
 
 	down_write(&md->lock);
 	remove_wait_queue(&md->wait, &wait);
