From: Martin Krause Date: Tue, 22 Jun 2010 13:00:19 +0000 (+0200) Subject: mtd: mtdconcat: fix bug with uninitialized lock and unlock functions X-Git-Tag: v2.6.36-rc1~301^2~66 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1d0fe3cddf2306e3ac32569aa152f1909c9b46e;p=pandora-kernel.git mtd: mtdconcat: fix bug with uninitialized lock and unlock functions Test if a lock or unlock function is present (pointer not NULL) before calling it, to prevent a kernel dump. Artem: removed extra blank lines Signed-off-by: Martin Krause Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed