diff options
author | phk <phk@FreeBSD.org> | 2004-04-12 21:52:52 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-04-12 21:52:52 +0000 |
commit | 200ffbe56da1ce63104bfca18c97d7caf4aecb51 (patch) | |
tree | f5f568bb4223484c9f23e8abafe10217e7870e9c /sys | |
parent | 09643af85a69cb796dbf782ef031c341eb82426e (diff) | |
download | FreeBSD-src-200ffbe56da1ce63104bfca18c97d7caf4aecb51.zip FreeBSD-src-200ffbe56da1ce63104bfca18c97d7caf4aecb51.tar.gz |
Do not drop Giant around the poll method yet, we're not ready for it.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/fs/specfs/spec_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index cf6fe54..6d39307 100644 --- a/sys/fs/specfs/spec_vnops.c +++ b/sys/fs/specfs/spec_vnops.c @@ -382,9 +382,9 @@ spec_poll(ap) ("spec_poll() on un-referenced dev_t (%s)", devtoname(dev))); cdevsw_ref(dsw); if (!(dsw->d_flags & D_NEEDGIANT)) { - DROP_GIANT(); + /* XXX: not yet DROP_GIANT(); */ error = dsw->d_poll(dev, ap->a_events, ap->a_td); - PICKUP_GIANT(); + /* XXX: not yet PICKUP_GIANT(); */ } else error = dsw->d_poll(dev, ap->a_events, ap->a_td); cdevsw_rel(dsw); |