]> git.baikalelectronics.ru Git - kernel.git/commit
UBIFS: unify error path dbg_debugfs_init_fs
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 1 Apr 2011 07:10:52 +0000 (10:10 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 5 Apr 2011 07:46:01 +0000 (10:46 +0300)
commit9bc27c318036b2d50b2686b9eecb31bfda82b6dc
tree209ac625bd17d661bc086f75615c8ac712309981
parent4b99355c1763bd52820142ae7a9603dfba393ddc
UBIFS: unify error path dbg_debugfs_init_fs

This is just a small clean-up patch which simlifies and unifies the
error path in the dbg_debugfs_init_fs(). We have common error path
for all failure cases in this function except of the very first
case. And this patch makes the first failure case use the same
error path as the other cases by using the 'fname' and 'dent'
variables.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Acked-by: Phil Carmody <ext-phil.2.carmody@nokia.com>
fs/ubifs/debug.c