In dm_put_target_type(): There's no need for the lock around the
atomic_dec_and_test().
--- diff/drivers/md/dm-target.c	2002-12-12 17:02:10.000000000 +0000
+++ source/drivers/md/dm-target.c	2002-12-17 15:59:07.000000000 +0000
@@ -93,12 +93,8 @@
 {
 	struct tt_internal *ti = (struct tt_internal *) t;
 
-	down_read(&_lock);
-
 	if (atomic_dec_and_test(&ti->use_count) && ti->tt.module)
 		__MOD_DEC_USE_COUNT(ti->tt.module);
-
-	up_read(&_lock);
 }
 
 static struct tt_internal *alloc_target(struct target_type *t)