UBI: add ioctl for is_mapped operation
authorCorentin Chary <corentincj@iksaif.net>
Mon, 5 Jan 2009 13:48:59 +0000 (14:48 +0100)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 17 Jul 2009 13:04:15 +0000 (16:04 +0300)
commit4da82e18c7518f34e3fe1a708c7cba21a31960ef
tree9ebc2c90ff234d4f58399c051c059e70d88bcadd
parentf33fb90ab61794232f279ad6ad270cac378fcc1e
UBI: add ioctl for is_mapped operation

This patch adds ioctl to check if an LEB is mapped or not (as a
debugging option so far).

[Re-named ioctl to make it look the same as the other one and made
 some minor stylistic changes. Artem Bityutskiy.]

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/cdev.c
include/mtd/ubi-user.h