lkml.org 
[lkml]   [2014]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 02/35] UBI: Fix stale pointers in ubi->lookuptbl
    From
    Date
    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.



    \
     
     \ /
      Last update: 2014-11-05 16:41    [W:3.230 / U:0.160 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site