summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-06-06 15:03:10 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-06-07 09:43:54 +0200
commit818039c7d597db3b1d30964a8f9489ac42c0642d (patch)
tree15a7529f017b818895e3e5ba75df4ef6f415af48 /drivers
parentUBI: fix debugfs-less systems support (diff)
downloadlinux-818039c7d597db3b1d30964a8f9489ac42c0642d.tar.xz
linux-818039c7d597db3b1d30964a8f9489ac42c0642d.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions