]> git.openpandora.org Git - pandora-kernel.git/commit
UBIFS: fix debugfs-less systems support
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 6 Jun 2012 13:03:10 +0000 (16:03 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sat, 2 Mar 2013 20:11:39 +0000 (22:11 +0200)
commitd4c31926295bca94dcb98fe277ab98bea782254c
tree016708c40092076cad3565b5044181b86112d896
parent1ed78ed87a27a5e9ae16174403bcbc10c1b57f04
UBIFS: fix debugfs-less systems support

Commit "f70b7e5 UBIFS: remove Kconfig debugging option" broke UBIFS and it
refuses to initialize if debugfs (CONFIG_DEBUG_FS) is disabled. I incorrectly
assumed that debugfs files creation function will return success if debugfs
is disabled, but they actually return -ENODEV. This patch fixes the issue.

Reported-by: Paul Parsons <lost.distance@yahoo.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tested-by: Paul Parsons <lost.distance@yahoo.com>
fs/ubifs/debug.c