aboutsummaryrefslogtreecommitdiff
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2016-05-20 08:22:20 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2016-05-20 08:22:20 +0000
commitdff9131e582628461a37d6220f244652c92a7376 (patch)
tree8122488ce12013776d383a0469ac0c255ebb4c84 /sys/geom/geom.h
parent82d2623e5a8c803cffcd88fa2e32cf615a05fade (diff)
downloadsrc-dff9131e582628461a37d6220f244652c92a7376.tar.gz
src-dff9131e582628461a37d6220f244652c92a7376.zip
Remove asserts that Giant is not held on entrance into geom KPI, which
outlived their usefulness. This allows to remove drop/pickup Giant wrappers around GEOM calls. Discussed with: alfred, imp, phk Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=300287
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index 98b53dc6eea3..b261693b7e29 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -371,7 +371,6 @@ g_free(void *ptr)
#define g_topology_lock() \
do { \
- mtx_assert(&Giant, MA_NOTOWNED); \
sx_xlock(&topology_lock); \
} while (0)