summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target.c
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2010-08-21 13:19:39 +0000
committerpgoyette <pgoyette@NetBSD.org>2010-08-21 13:19:39 +0000
commit23d5409e7eb0a6db6e7f6f5e3c46a94fecd7f617 (patch)
tree864cbadf465ccff2251131995c9db9ca4c165512 /sys/dev/dm/dm_target.c
parentf05cff10bdeb4471632c3e9f4d7ac9e6f0a4c393 (diff)
Update the rest of the kernel to conform to the module subsystem's new
locking protocol.
Diffstat (limited to 'sys/dev/dm/dm_target.c')
-rw-r--r--sys/dev/dm/dm_target.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/dm/dm_target.c b/sys/dev/dm/dm_target.c
index 10f63058a01..f8e5a23e3c2 100644
--- a/sys/dev/dm/dm_target.c
+++ b/sys/dev/dm/dm_target.c
@@ -1,4 +1,4 @@
-/* $NetBSD: dm_target.c,v 1.13 2010/05/18 15:10:38 haad Exp $ */
+/* $NetBSD: dm_target.c,v 1.14 2010/08/21 13:19:41 pgoyette Exp $ */
/*
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -83,9 +83,7 @@ dm_target_autoload(const char *dm_target_name)
gen = module_gen;
/* Try to autoload target module */
- mutex_enter(&module_lock);
(void) module_autoload(name, MODULE_CLASS_MISC);
- mutex_exit(&module_lock);
} while (gen != module_gen);
mutex_enter(&dm_target_mutex);