[PATCH]] mtdconcat: fix bug with uninitialized lock and unlock functions

Artem Bityutskiy dedekind1 at gmail.com
Thu Jul 8 05:10:29 EDT 2010


On Tue, 2010-06-22 at 15:00 +0200, Martin Krause wrote:
> Test if a lock or unlock function is present (pointer not NULL) before
> calling it, to prevent a kernel dump.
> 
> Signed-off-by: Martin Krause <martin.krause at tqs.de>
> ---
>  drivers/mtd/mtdconcat.c |   18 ++++++++++++------
>  1 files changed, 12 insertions(+), 6 deletions(-)

Pushed to l2-mtd-2.6.git, thanks!

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list