[PATCH] UBI: ubi_wl_flush(): Use list_for_each_entry_safe()

Artem Bityutskiy dedekind1 at gmail.com
Mon Jul 28 09:08:46 PDT 2014


On Sun, 2014-07-27 at 09:35 +0200, Richard Weinberger wrote:
> Use the _safe variant because we're iterating over
> a list where items get deleted and freed.
> 
> Signed-off-by: Richard Weinberger <richard at nod.at>

Pushed to linux-ubifs.git, thanks!

-- 
Best Regards,
Artem Bityutskiy




More information about the linux-mtd mailing list