UBIFS: add global debugfs knobs
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 1 Jun 2011 14:43:43 +0000 (17:43 +0300)
committerArtem Bityutskiy <dedekind1@gmail.com>
Mon, 4 Jul 2011 07:54:32 +0000 (10:54 +0300)
commite7717060ddd509e6c305ad7bf5a090a95e91c8cf
tree03869be56858dfc5226a94129d528714838e4dc0
parent28488fc28aa39815b78c2cbeaaf25f33fef92ce8
UBIFS: add global debugfs knobs

Now we have per-FS (superblock) debugfs knobs, but they have one drawback - you
have to first mount the FS and only after this you can switch self-checks
on/off. But often we want to have the checks enabled during the mount.
Introduce global debugging knobs for this purpose.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/debug.c
fs/ubifs/debug.h