From b67232b68cdcbb54dc3a2311609828aced7ecc25 Mon Sep 17 00:00:00 2001 From: phk Date: Mon, 3 Mar 2003 16:24:47 +0000 Subject: Make nokqfilter() return the correct return value. Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers. --- sys/fs/specfs/spec_vnops.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/fs/specfs') diff --git a/sys/fs/specfs/spec_vnops.c b/sys/fs/specfs/spec_vnops.c index f8c8a43..4cbc308 100644 --- a/sys/fs/specfs/spec_vnops.c +++ b/sys/fs/specfs/spec_vnops.c @@ -392,8 +392,6 @@ spec_kqfilter(ap) dev = ap->a_vp->v_rdev; dsw = devsw(dev); - if (!(dsw->d_flags & D_KQFILTER)) - return (1); if (dsw->d_flags & D_NOGIANT) { DROP_GIANT(); error = dsw->d_kqfilter(dev, ap->a_kn); -- cgit v1.1