]> git.baikalelectronics.ru Git - kernel.git/commit
jbd: config_jbd_debug cannot create /proc entry
authorJose R. Santos <jrs@us.ibm.com>
Fri, 19 Oct 2007 06:39:22 +0000 (23:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 19 Oct 2007 18:53:35 +0000 (11:53 -0700)
commit036d616fab515e5a65af4bdb9c4274207127a785
tree5a1d45afd49cd11d488173f6351bcfe432c2139a
parentcd465c889bf88fcd8c90192549e52b88713dcb65
jbd: config_jbd_debug cannot create /proc entry

The jbd-debug file used to be located in /proc/sys/fs/jbd-debug, but
create_proc_entry() does not do lookups on file names that are more that
one directory deep.  This causes the entry creation to fail and hence, no
proc file is created.

Instead of fixing this on procfs might as well move the jbd2-debug file to
debugfs which would be the preferred location for this kind of tunable.
The new location is now /sys/kernel/debug/jbd/jbd-debug.

[akpm@linux-foundation.org: zillions of cleanups]
Signed-off-by: Jose R. Santos <jrs@us.ibm.com>
Acked-by: Jan Kara <jack@suse.cz>
Cc: <linux-ext4@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/Kconfig
fs/jbd/journal.c
include/linux/jbd.h