From: Artem Bityutskiy Date: Wed, 6 Jun 2012 13:03:10 +0000 (+0300) Subject: UBIFS: fix debugfs-less systems support X-Git-Tag: v3.5-rc2~7^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=818039c7d597db3b1d30964a8f9489ac42c0642d;p=pandora-kernel.git 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 Signed-off-by: Artem Bityutskiy Tested-by: Paul Parsons --- Reading git-diff-tree failed