]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext4: fix #11321: create /proc/ext4/*/stats more carefully
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 14 Sep 2008 14:21:33 +0000 (10:21 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 14 Sep 2008 14:21:33 +0000 (10:21 -0400)
commit899fc1a4cf404747de2666534d508804597ee22f
tree4d3079f33198272fe0dfc6a08fe63dad659a374e
parentc62a11fd9555007b1caab83b5bcbb443a43e32bb
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 <adobriyan@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/mballoc.c