diff options
author | phk <phk@FreeBSD.org> | 2003-03-03 16:24:47 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-03 16:24:47 +0000 |
commit | b67232b68cdcbb54dc3a2311609828aced7ecc25 (patch) | |
tree | 882ecd3451f5d9cf0721da1f4041961ac8528fe7 /sys/fs | |
parent | 8b25734b0597b951f2979117d6d4848fbca61813 (diff) | |
download | FreeBSD-src-b67232b68cdcbb54dc3a2311609828aced7ecc25.zip FreeBSD-src-b67232b68cdcbb54dc3a2311609828aced7ecc25.tar.gz |
Make nokqfilter() return the correct return value.
Ditch the D_KQFILTER flag which was used to prevent calling NULL pointers.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/specfs/spec_vnops.c | 2 |
1 files changed, 0 insertions, 2 deletions
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); |