>  page_hit:
> -     f2fs_bug_on(sbi, nid != nid_of_node(page));
> +     if(nid != nid_of_node(page)) {

should add "unlikely" here, will fix this in v3 patch.

> +             f2fs_bug_on(sbi, 1);
> +             ClearPageUptodate(page);
> +out_err:
> +             f2fs_put_page(page, 1);
> +             return ERR_PTR(-EIO);
> +     }
>       return page;
>  }
>  
> 


-- 
Thanks,
Yunlong Song

Reply via email to