diff options
author | kib <kib@FreeBSD.org> | 2016-05-20 08:25:37 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-05-20 08:25:37 +0000 |
commit | f05c84067d712ad6179a868d16fa8271b44c6b07 (patch) | |
tree | a8f0fa91cc68d79615305e895fa539567693da9c /sys/geom/geom_pc98.c | |
parent | 0ffe69ace21f6fc313b8ecfb9e6e224e587fd7a0 (diff) | |
download | FreeBSD-src-f05c84067d712ad6179a868d16fa8271b44c6b07.zip FreeBSD-src-f05c84067d712ad6179a868d16fa8271b44c6b07.tar.gz |
Removal of Giant droping wrappers for GEOM classes.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/geom/geom_pc98.c')
-rw-r--r-- | sys/geom/geom_pc98.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c index 42c9962..f4435cb 100644 --- a/sys/geom/geom_pc98.c +++ b/sys/geom/geom_pc98.c @@ -176,7 +176,6 @@ g_pc98_ioctl(struct g_provider *pp, u_long cmd, void *data, int fflag, struct th case DIOCSPC98: { if (!(fflag & FWRITE)) return (EPERM); - DROP_GIANT(); g_topology_lock(); cp = LIST_FIRST(&gp->consumer); if (cp->acw == 0) { @@ -191,7 +190,6 @@ g_pc98_ioctl(struct g_provider *pp, u_long cmd, void *data, int fflag, struct th if (opened) g_access(cp, 0, -1 , 0); g_topology_unlock(); - PICKUP_GIANT(); return(error); } default: |