[RFC] crapectomy: CTL_ANY

From: Alexander Viro (viro@math.psu.edu)
Date: Fri Nov 10 2000 - 14:50:04 EST


% find . -type f | xargs grep -nw CTL_ANY
./kernel/sysctl.c:370: if (n == table->ctl_name || table->ctl_name == CTL_ANY) {
./include/linux/sysctl.h:47:#define CTL_ANY -1 /* Matches any name */

And no, there is no ctl_table that would be getting explicit -1 as ->ctl_name.
Unless somebody screams I'm removing that beast (how the hell did it get
there in the first place? Mind boggles...)
                                                        Cheers,
                                                                Al

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:17 EST