diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-11-08 16:27:12 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-08 16:32:38 -0500 |
commit | 269e2d77b82d92d8dad543a2375e74372e9d773e (patch) | |
tree | b7a43b3f221986bb7a8c94ad2647699879468c49 /lib/radix-tree.c | |
parent | 9f2a0fac625bcef9c579bcf0b0c904ab1a56e7c4 (diff) |
libipw: fix proc entry removal
This bug seems to be due to commit 27ae60f8f7aac ("ipw2x00: replace
"ieee80211" with "libipw" where appropriate"), where Pavel did this:
- libipw_proc = proc_mkdir(DRV_NAME, init_net.proc_net);
+ libipw_proc = proc_mkdir("ieee80211", init_net.proc_net);
but then the cleanup was kept as
remove_proc_entry(DRV_NAME, init_net.proc_net);
in both places (both in the failure case and in the unload case). The
error string is also total crap, and says
"Unable to create " DRV_NAME " proc directory\n");
Even though it doesn't actually create a proc directory named DRV_NAME at all.
So that patch looks like total and utter crap to me. The commit message says
"Keep /proc/net/ieee80211 under the original name to avoid breaking user
interface."
but the thing is, it really didn't fix anything but that one create
thing. It needs to fix all the other cases too.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions