diff options
| author | Artem Bityutskiy <[email protected]> | 2012-06-06 13:03:10 +0000 |
|---|---|---|
| committer | Artem Bityutskiy <[email protected]> | 2012-06-07 07:43:54 +0000 |
| commit | 818039c7d597db3b1d30964a8f9489ac42c0642d (patch) | |
| tree | 15a7529f017b818895e3e5ba75df4ef6f415af48 /tools/perf/util/trace-event-scripting.c | |
| parent | UBI: fix debugfs-less systems support (diff) | |
| download | kernel-818039c7d597db3b1d30964a8f9489ac42c0642d.tar.gz kernel-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 <[email protected]>
Signed-off-by: Artem Bityutskiy <[email protected]>
Tested-by: Paul Parsons <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
