[PATCH 02/35] UBI: Fix stale pointers in ubi->lookuptbl

Artem Bityutskiy dedekind1 at gmail.com
Wed Nov 5 07:14:07 PST 2014


On Wed, 2014-10-29 at 13:45 +0100, Richard Weinberger wrote:
> +			ubi->lookuptbl[e2->pnum] = NULL;
>  			kmem_cache_free(ubi_wl_entry_slab, e2);

Since these 2 must always go together, they really deserve a separate
helper function.




More information about the linux-mtd mailing list