]> git.baikalelectronics.ru Git - kernel.git/commit
UBI: provide an helper to check whether a LEB is mapped or not
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 16 Sep 2016 14:59:23 +0000 (16:59 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 2 Oct 2016 20:48:14 +0000 (22:48 +0200)
commit8e328def1895375ae00d2cc4d23144a1044155a4
treeb6d086adee9f4b35879e85e435e9585222193b5a
parentdbbfb57353db26d35b0fde2fdbc65a36a74ca99f
UBI: provide an helper to check whether a LEB is mapped or not

This is part of the process of hiding UBI EBA's internal to other part of
the UBI implementation, so that we can add new information to the EBA
table without having to patch different places in the UBI code.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/eba.c
drivers/mtd/ubi/kapi.c
drivers/mtd/ubi/ubi.h