From: Alexey Dobriyan Date: Sun, 16 Nov 2008 16:05:22 +0000 (-0500) Subject: ext4: fix #11321: create /proc/ext4/*/stats more carefully X-Git-Tag: v2.6.27.8~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43b7c32ff29ffbdc1163919c084938c8634ddcfb;p=pandora-kernel.git ext4: fix #11321: create /proc/ext4/*/stats more carefully (cherry picked from commit 899fc1a4cf404747de2666534d508804597ee22f) ext4 creates per-suberblock directory in /proc/ext4/ . Name used as basis is taken from bdevname, which, surprise, can contain slash. However, proc while allowing to use proc_create("a/b", parent) form of PDE creation, assumes that parent/a was already created. bdevname in question is 'cciss/c0d0p9', directory is not created and all this stuff goes directly into /proc (which is real bug). Warning comes when _second_ partition is mounted. http://bugzilla.kernel.org/show_bug.cgi?id=11321 Signed-off-by: Alexey Dobriyan Signed-off-by: "Theodore Ts'o" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed