UBI: add ioctl for is_mapped operation
authorCorentin Chary <corentincj@iksaif.net>
Mon, 5 Jan 2009 13:48:59 +0000 (14:48 +0100)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 18 Jan 2009 12:02:08 +0000 (14:02 +0200)
commita27ce8f55dd5fddf0b8ea179cce8f399c13dc94f
treece20328f8c29c8ba98446799aeb8412056dcef71
parentc3da23be1673be4e738aea235604b4e6cb259655
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