From: Alexey Dobriyan Date: Sun, 14 Sep 2008 14:21:33 +0000 (-0400) Subject: ext4: fix #11321: create /proc/ext4/*/stats more carefully X-Git-Tag: v2.6.28-rc1~709^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=899fc1a4cf404747de2666534d508804597ee22f;p=pandora-kernel.git ext4: fix #11321: create /proc/ext4/*/stats more carefully 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" --- Reading git-diff-tree failed