lkml.org 
[lkml]   [2014]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 28/35] UBI: Fastmap: Make self_check_eba() depend on fastmap self checking
    Date
    ...instead of generic self checking.

    Signed-off-by: Richard Weinberger <richard@nod.at>
    ---
    drivers/mtd/ubi/attach.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c
    index 9364348..e36fd2e 100644
    --- a/drivers/mtd/ubi/attach.c
    +++ b/drivers/mtd/ubi/attach.c
    @@ -1454,7 +1454,7 @@ int ubi_attach(struct ubi_device *ubi, int force_scan)
    goto out_wl;

    #ifdef CONFIG_MTD_UBI_FASTMAP
    - if (ubi->fm && ubi_dbg_chk_gen(ubi)) {
    + if (ubi->fm && ubi_dbg_chk_fastmap(ubi)) {
    struct ubi_attach_info *scan_ai;

    scan_ai = alloc_ai();
    --
    1.8.4.5


    \
     
     \ /
      Last update: 2014-10-29 14:01    [W:2.944 / U:0.460 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site