[PATCH] ubifs: add missing ui pointer in debugging code

Artem Bityutskiy dedekind1 at gmail.com
Tue May 27 05:27:46 PDT 2014


On Tue, 2014-05-13 at 22:27 +0200, Daniel Golle wrote:
> If UBIFS_DEBUG is defined an additional assertion of the ui_lock
> spinlock in do_writepage cannot compile because the ui pointer has not
> been previously declared.
> 
> Fix this by declaring and initializing the ui pointer in case
> UBIFS_DEBUG is defined.
> 
> Signed-off-by: Daniel Golle <daniel at makrotopia.org>

Pushed to linux-ubifs.git, thanks!

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list