summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-06-06 15:22:41 +0300
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-06-07 10:43:54 +0300
commite9b4cf2094a65a05a831f070e46c554260632330 (patch)
tree51a8a420ba19dfe1a9abfaa4d3cf109a8c4e199f /virt
parentf8f5701bdaf9134b1f90e5044a82c66324d2073f (diff)
downloadlinux-e9b4cf2094a65a05a831f070e46c554260632330.tar.gz
linux-e9b4cf2094a65a05a831f070e46c554260632330.tar.bz2
linux-e9b4cf2094a65a05a831f070e46c554260632330.zip
UBI: fix debugfs-less systems support
Commit "aa44d1d UBI: remove Kconfig debugging option" broke UBI 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 'virt')
0 files changed, 0 insertions, 0 deletions