From: Christoph Lameter Date: Tue, 5 Feb 2008 07:35:48 +0000 (-0800) Subject: slabinfo: fall back from /sys/kernel/slab to /sys/slab X-Git-Tag: v2.6.25-rc3~96^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6c24de77cbe9afe4962f0738e6444e709e83c81;p=pandora-kernel.git slabinfo: fall back from /sys/kernel/slab to /sys/slab I keep running upstream and mm kernels and the location of the slab directory is different since upstream still uses /sys/slab. This patch makes slabinfo check /sys/slab if /sys/kernel/slab is not there. Makes slabinfo work on any kernel. Signed-off-by: Christoph Lameter Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed