From: Alexey Dobriyan Date: Wed, 17 Oct 2007 06:26:50 +0000 (-0700) Subject: Tweak /proc/ipmi removal X-Git-Tag: v2.6.24-rc1~715 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3542ae4c17bb2c86e5658728ff73b3d5ca44532e;p=pandora-kernel.git Tweak /proc/ipmi removal Driver does proc_mkdir("ipmi", NULL); but remove_proc_entry(proc_ipmi_root->name, &proc_root); This is OK and working if only slightly inconsistent. Also changing proc_root to NULL will help OpenVZ which has multiple proc roots and, as we now know, requires matching parents in such cases. Signed-off-by: Alexey Dobriyan Cc: Corey Minyard Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed